adafruit / Adafruit_MQTT_Library

Arduino library for MQTT support

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Circuit Playground Express (+ BLE): MQTT (UART mode) with limited amount of characters

dorukde opened this issue · comments

  • Arduino board: Adafruit Flora & Circuit Playground Express

  • Arduino IDE version (found in Arduino -> About Arduino menu): 1.8.10

I am trying to utilise CircuitPlayground (and Adafruit Flora) to receive a large (larger than 100 characters) JSON file to be sent to adafruit.io webhook and then to the Bluefruit Connect LE App, that forwards the JSON to Arduino. I use ArduinoJSON to assign variables as I receive a group-feed from multiple web-sources. I don't use wi-fi module on my board, only BLE UART.

However, the 'serial monitor' only gets a limited amount of text. I have not found any documentation and solution about the character limitation. I have previously tried FLORA, and then moved to Circuit Playground Express. Currently, I am stuck with 100 characters. How can a relatively larger JSON can be sent?

(An alternative solution could be running the GPS-feed (in controller mode) as a JSON array from Bluefruit LE Connect App, while running UART. This seems more unlikely, as data-types are different and iOS App does not run UART and this feed simultaneously.)