Reputation: 411
I work currently on project that will be developed by two suppliers.
First supplier my company is responsible for ASP.NET MVC 3 application that will be hosted on Azure. This application will analyze data gathered by RFID readers and ZigBee readers devices. I have to also design WCF service that will be responsible for communication. I would like to emphasize that we are not experts about hardware devices and unmanaged C.
Second supplier, other company will deliver devices, and that will be device using ZigBee low energy wireless propagation network. Each device can work in 3 states, gather data, propage, or become manager for all. The "manager" will communicate with WCF service to transfer data to Azure SQL database.
Device specs:
And my questions are:
I am under the pressure of time. So I will be grateful if you can point me any clues.
Thanks in advance.
Daniel
Upvotes: 1
Views: 921
Reputation: 30903
As Kevin points, it would be exremely easier if you make your services REST based. Than you could refer this question. Quire relevant for the topic. You could secure your REST with X.509 certificate.
Please note that I have not personally tested the provided libraries, as I am not that much experienced with C/C++. But since the POCO libraries have HTTPRequest and HTTPResponse classes. They, along with X509Certificate should be enough for you. Of course, security may be a bit tricky, but these are good starting point.
Upvotes: 0
Reputation: 17540
When you say "unmanaged C" I am assuming that your development environment is Visual Studio using C/C++. Is that correct. There is a discussion on using a C++ client to communicate with WCF here. I have not personally used C for a client to a WCF service but I have used JavaScript and Java clients to call WCF when WCF was configured for REST. I would recommend REST for ease of implementation across platforms. There should be some way to make a simple HTTP request from C, which is all you need to be able to do for communicating with a REST API. The downside of REST will be security. I am not sure how secure this needs to be but you can provide some security by using certificates and requiring credentials in your API.
Upvotes: 1