[riot-notifications] [projects] added test application for nativenet transceiver (#25)

LudwigOrtmann notifications at github.com
Wed Aug 21 15:05:33 CEST 2013


> +
> +void sender(void) {
> +    unsigned int i=0;
> +    msg_t mesg;
> +    transceiver_command_t tcmd;
> +    radio_packet_t p;
> +
> +    mesg.type = SND_PKT;
> +    mesg.content.ptr = (char*) &tcmd;
> +
> +    tcmd.transceivers = TRANSCEIVER_NATIVE;
> +    tcmd.data = &p;
> +
> +    p.length = PACKET_SIZE;
> +    p.dst = 0;
> +    snd_buffer[0] = SENDER_ADDR;

Make an issue and I'll implement it ;-)

---
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/projects/pull/25/files#r5894411
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20130821/dd0a3a58/attachment.html>


More information about the notifications mailing list