This is the sample program that can see the decode result of barcode data on Watson IoT.
Dependencies: AsciiFont DisplayApp GR-PEACH_video LCD_shield_config LWIPBP3595Interface_STA_for_mbed-os USBDevice
Diff: mbed-endpoint-resources/ZXingResource.h
- Revision:
- 1:67f8b5cfde75
- Parent:
- 0:7d720671e6dc
--- a/mbed-endpoint-resources/ZXingResource.h Thu Nov 10 20:04:48 2016 +0900 +++ b/mbed-endpoint-resources/ZXingResource.h Thu Nov 10 20:23:55 2016 +0900 @@ -421,7 +421,7 @@ } if (*decode_str == NULL) { - return string("{\"barcodeData\":0}\0"); + return string("0\0"); } else { return string(*decode_str); }