进行中

C daemon for reading and writing to a usb device

The program must be written in C and needs to be compiled with gcc to use with different architectures (intel/amd, x86, ARM, 32/64bit) to run on normal linux pcs as well as on embedded devices like Netgear ReadyNAS, Rasperry Pi, AVM FritzBox and alike.

The daemon must have a config file, in which the following settings must be made:

- usb device (eg. /dev/usb01)

- api_key (some string of any length provided to each install of the daemon individually)

- local port the daemon listens on (eg. 6055)

The daemon does 3 things:

1. on startup and after that every 5 minutes, calls a remote url ([url removed, login to view]) to retrieve the public ip address of the computer it is running on. If the daemon just started or the ip address has changed compared to a previous check, it will call another remote url with the new ip address and the api_key over a SSL encrypted call ([url removed, login to view];api_key=xyz)

2. Establish a connection to the usb device (which basically behaves like a serial modem) and listens to it. Every time the usb device sends something, the data is pushed over an SSL encrypted call to a remote url (eg. [url removed, login to view];data=abc)

3. Listen on the configured port for incoming SSL encrypted socket connection which contains the valid api_key and data to be handed to the usb device.

The code must be easy to maintain (eg. change the remote urls; not via the config!), well documented and follow best practices in c programming as well as design principles.

The usb device uses this protocol: FHZ 1000 ([url removed, login to view])

技能: C 编程, 软件构架

查看更多: usb reading program, reading writing usb device, writing daemon, writing to a file in c, writing programming in c++, writing minutes, writing in code, writing devices, writing computer code, writing an address, writing a computer program, writing a check example, writing a address, string programming, string in c programming, string c programming, software for computer programming, software design principles, socket programming in php, socket programming in c, socket programming c#, serial programming, serial port programming, reading writing connection, public programming

About the Employer:
( 1 review ) Wiesbaden, Germany

项目ID: #1493274

已悬赏给:

pjoter

Hi, please check my PMB! Thanks.

$249 USD 在9天内
(12条评论)
5.6

7名威客为此工作的平均竞标价是$307

pyeatt

I have written several daemons similar to this. I am very familiar with socket programming and performing embedded HTML transactions. I teach C programming (among other things) and demand extremely good coding style. 更多

$350 USD 在14天内
(1条评论)
4.7
argento

Hi, please check PMB. Thanks.

$500 USD 在30天内
(19条评论)
4.6
randezvous

Hi , I have necessary skills to finish this project in time. thanks, Rand.

$250 USD 在10天内
(1条评论)
2.8
SEsenin

Hello. I have developed usb drivers some ears ago and have experience in this sphere. I am interesting, how this program will communicate with usb device ? Is there any usb driver that provide block or socket interface 更多

$300 USD 在20天内
(0条评论)
0.0
smalllogic

I can do this. I am having the required USB knowledge and basically I am a device driver and network developer.

$300 USD 在20天内
(0条评论)
0.0
SolidProgramming

Please check our PM. We are a team of high qualified programmers, all senior students of Computer Science Engineering at a world-class university. Thank You, «« SOLID PROGRAMMING Group. »»

$200 USD 在10天内
(1条评论)
0.0