Contiki 3.x
Functions
serial-dumper.c File Reference

    adapted from Battery and Temperature IPv6 Demo for Zolertia Z1
More...

#include <stdio.h>
#include <stdlib.h>
#include "contiki.h"
#include "store.h"
#include "net/ipv6/uip-ds6.h"
#include "readings.pb.h"
#include "settings.pb.h"

Go to the source code of this file.

Functions

static void dump_buffer (uint8_t *buffer, uint8_t len)
 Dump a binary buffer over serial as a hex line. More...
 

Detailed Description

    adapted from Battery and Temperature IPv6 Demo for Zolertia Z1
Author
Dan Playle djap1.nosp@m.g12@.nosp@m.soton.nosp@m..ac..nosp@m.uk

Definition in file serial-dumper.c.

Function Documentation

void dump_buffer ( uint8_t *  buffer,
uint8_t  len 
)
static

Dump a binary buffer over serial as a hex line.

Parameters
bufferThe buffer to print
lenThe length of the buffer

Definition at line 79 of file serial-dumper.c.