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

Christian Mehlis notifications at github.com
Wed Aug 21 16:02:19 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;

did https://github.com/RIOT-OS/projects/issues/29

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


More information about the notifications mailing list