Closed kaleemullah360 closed 8 years ago
You are trying to run a cc2538dk example as another platform. Either comment out the cc2538dk stuff until it works, or don't run it at all. The cc2538dk sensors are not possible to simulate in Cooja.
as I am beginner, doing project in Porting MQTT in Contiki Cooja simulator. so please guide me, help me. give me some links papers any thing so that I can also participate in Contiki OS development. I'll be very thankful to you. :+1:
What @msloth was trying to tell you is that you are using code that is intended to be used with cc2538 with another platform (z1), which has not implemented the cc2538 specific sensors. This is also why you are getting this error. If you want to run the mqtt example you'll have to disable the platform specific parts of the code (in this case everything related to the sensors) and compile again (as @msloth mentioned) I suggest you start with the contiki wiki as well as the great IOT in 5 days book which presents a good way to get started.
@tonnenpinguin I understand now, so many thanks to both @msloth and @tonnenpinguin for helping me. can you direct me to some resource or guy who is developing systems in MQTT, CoAP in Contiki OS and Cooja Simulator. I can't afford hardware.
hi can you solve this matter? i have this problem in cooja and i can't solve it. please help me. Thank you
In Cooja Simulator:
/home/kaleem/contiki/examples/cc2538dk/mqtt-demo/mqtt-demo.c
, select and compile the file. Full Stack Trace:Help me to solve the problem please.