Sample program for communicating with Fujitsuu IoT Platform using HTTP

Dependencies:   AsciiFont GR-PEACH_video GraphicsFramework LCD_shield_config R_BSP USBHost_custom easy-connect-gr-peach mbed-http picojson BM1383GLV KX022 rohm-sensor-hal rohm-bh1745

Ethernet settings

For running this example using Ethernet, you need:

  • An Ethernet cable
  • An Ethernet connection to the internet
  • MAC Address Setup In order to set up MAC address, you need to add the following function to main.cpp. Note that you don't need to set up MAC address when using WIFI.

main.cpp

// set mac address
void mbed_mac_address (char *mac) {
    mac [0] = 0x00;
    mac [1] = 0x02;
    mac [2] = 0xF7;
    mac [3] = 0xF0;
    mac [4] = 0x00;
    mac [5] = 0x00;
}

All wikipages