How to implement DTLS in contiki os and integrate it with coap protocol - contiki

https://code.google.com/archive/p/contiki-dtls/ "checked this link but facing problems in integrating as there is no readme here"
https://github.com/renzoe/dtls-contiki/wiki
how to use tinyDTLS in contiki os, can someone explain steps for the same.

Related

How can i create an app for Samsung smart tv Remote in iOS programming?

I need to create a remote control app in ios for samsung tvs. I did google too but i can not able to get exact solution. I have seen this SDK link
https://developer.samsung.com/tv/develop/extension-libraries/smart-view-sdk/sender-apps/ios-sender-app
But is it still allowing me to connect latest tv models also ?
I have seen codes provided in github but none of them are working for me.
https://github.com/SamsungDForum/SmartViewSDKIntegrateSample
I have also seen that there is TIZEN platform to do it but i am not aware with that also.
I am still confused that is its control code need to write in swift or objective c or it will be done via web APIS? because i have seen node.js reference as well for this.
https://github.com/Toxblh/samsung-tv-control
https://github.com/piu130/samsung-tv-remote-interface
https://github.com/piu130/samsung-tv-remote-interface-keys
I have seen smartthings link too but it also not giving me any hint from which i can start.
https://smartthings.github.io/
However i have seen there are many apps available to operate samsung tvs. I wonder how they did the connection and operate the remote keys ?
I have seen http://connectsdk.com/. And this is available in objective c and working for LG tv. I have tried and tested in lg tv but it is not working in samsung tv.
Thank you.
You can create a samsung remote easily using websockets. Take a look at this project.
https://github.com/Ape/samsungctl
The code is in python and it contains two methods.
Websockets
Legacy
I prefer to use websockets and it is actually quite easy. By looking at the websockets section in this project you will get an idea of how to use websockets to connect to samsung TV and control it by sending commands.
You can create a Samsung remote easily using WebSockets.
It's Quite Easy to work with this Library, Only need some basic knowledge about Socket.
https://github.com/daltoniam/Starscream
without needing any Server Side Support.

Msgraph-sdk-java vs Msgraph-sdk-android for Android?

Has anyone tried Android development using Microsoft Graph SDKs?
What is the preferred SDK for Android? There are two SDKs available - one for Java (msgraph-sdk-java) and one separately for Android (msgraph-sdk-android) and its very confusing to choose between two. No appropriate documentation available as well!
Sorry for the confusion Samhith. We are in the process of deprecating the Android SDK in favour of the Java SDK for Android. The docs here should have mentioned the correct configuration for using Java. That's on me to fix.
There is an example of creating a client for Android here but you are absolutely correct that the guidance is not clear.
There is a dedicated Android Authorization Prodvider that can be found here.
All future work will be in the Java SDK and we will support the Android platform via that SDK.

Sony SDK on computer

I would like to use the sony SDK to display image from my SONY alpha 5000 on my computer.
I notice that the supplied SDK is to develop and Android application. Is there a computer version SDK to be able to connect to the camera with the WIFI and control it?
Well, I'm also a newbie on the Sony remote camera API SDK. And I started with the same questions as you. Actually the API SDK can be understand as an instruction set that can be used in fairly any platform. This being said, one option is to workarround the programming language that you manage (Python, C, VB....) and send the instruction through a network service (Myself, I have been trying with network sockets on C#). There are some examples on the web, which are ready to go as Locana and Camera RC, both of which I have found very useful. If you want to make your app yourself, you can check a bit the code for C I posted on this comment (Please do not start with liveview... If you do, and get to do it, let me know). I hope it can be of any help.

Is it possible to adapt a linux/windows sdk for ios?

I recently started working on an iPhone app which needs connection to functions of a DVR. I found out that the DVR company provides SDKs for this but only for windows and linux.
So I wanted to ask if I can adapt one of these SDKs and use it for ios. The answer may be obvious and easy but with the little experience I have I want to ask the experts if it's possible. And if it is, what can be the main obstacles generally? Will porting the linux sdk to Mac, following the Apple Developer guide, help?
I can of course provide more details about the sdk if needed.

Using MQTT for Blackberry/J2ME

I recently had a look at an excellent blog for using MQTT over Android. I am new to MQTT, and for understanding the concepts, I want to use MQTT services on Blackberry. Is there a good explanation of how MQTT works... a J2ME/ blackberry implementation will be easy to understand for me.
Thanks !
There's a brief description of some of the concepts behind mqtt at http://mosquitto.org/man/mqtt-7.html
The presentation at http://www.slideshare.net/andysc/the-house-that-twitters also contains explanations from more of an applications viewpoint.
As for J2ME - the IBM ia92 package linked from http://mqtt.org/software contains a J2ME component with API docs and example, but not the implementation code.
Lastly, the MQTT spec is linked to on http://mqtt.org/documentation so you can always look there for more details.
IBM released Cordova MQTT plugin and source for Android via developerworks that wraps the Eclipse Paho mqtt java client (also IBM contributed). If you're creating mobile apps then doing HTML5/javascript hybrid apps in Cordova (f.k.a. PhoneGap) with an MQTT plugin is a good to go. On Android (i.e. BB playbook) there is this one. For other platforms, using Eclipse Paho to create a plugin for Cordova on BB shouldn't be hard. For example I have Cordova/Worklight apps with MQTT plugin using the Eclipse Paho C client on my iPhone.
here is the MQTT plugin for Android:
https://www.ibm.com/developerworks/mydeveloperworks/blogs/messaging/entry/using_mq_telemetry_transport_protocol_in_ibm_worklight_mobile_applications1
MQTT is compelling for mobile apps. Benchmarking done on Android showed that MQTT has 93x higher throughput, 1/10th batter use per message sent and uses 1/8th the bandwidth vs HTTPS. This is probably why Facebook Messenger uses MQTT. http://stephendnicholas.com/archives/1217
btw, If you do develop HTML5/javascript hybrid mobile apps with Cordova, IBM Worklight has a cross-platform WYSIWYG mobile developer IDE, strong security, unified push notification engine, online/offline support, etc. And Cordova is built-in.

Resources