nesc

NesC programming language

Hello. Does anyone knows where I can find tutorials and code samples, basic and advanced, of NesC programming language. Best regards ...

nesC (C-like) question

This is the code from TestAVBoardM.nc file in nesC language: #define BUFFERLEN 32768 uint32_t gBuffer[BUFFERLEN] __attribute__((aligned(32))); uint32_t gNumSamples = BUFFERLEN/4; event void Audio.ready(result_t success) { call Audio.audioRecord(gBuffer,gNumSamples)); return; } The buffer gBuffer is used to store so...

Tinyos reception after second reply doesn't work.

I'm in trouble with my nesC code. In my code I send a first packet using AMSend.send(AM_BROADCAST_ADDR, &packet, sizeof(rd_message)). After that, when a message is received in function event message_t* Receive.receive(message_t* bufPtr, void* payload, uint8_t len){ a reply is generated and sent successfully, but the other nodes are not ...