This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Scala | |
val topic = "raw" | |
val kafkaSource: Source[ConsumerRecord[String, String], Consumer.Control] = // listen to our topic with our settings, until the program is exited | |
Consumer.plainSource(consumerSettings, Subscriptions.topics(topic)) | |
... | |
val webSocketWriteLogic: Source[Message, NotUsed] = |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Setup your environment and then clone the Iotivity git repo follow the instructions to the beginning of step 5 | |
https://www.iotivity.org/documentation/linux/getting-started | |
$ sudo apt-get install libboost-dev libboost-program-options-dev libexpat1-dev libboost-thread-dev uuid-dev | |
$ sudo apt-get install dos2unix | |
cd to Iotivity root directory | |
$ scons TARGET_OS=arduino TARGET_ARCH=avr BOARD=megaADK |