BLE problems, Classic Bluetooth for Data Transfer, and JSON Parsing

frostyowned
Posts: 20
Joined: Wed Jun 28, 2017 1:22 pm

BLE problems, Classic Bluetooth for Data Transfer, and JSON Parsing

Postby frostyowned » Thu Jul 13, 2017 3:50 pm

A while ago I had an issue with Android versions <5 not being able to connect through BLE to the device, which made me change to Classic Bluetooth. As much as I'd prefer to use BLE given what I'm going to be using it for, it simply can not. More details on that problem are in the thread I made previously here

Switching to the Classic Bluetooth seems to work good so far on those versions, except now I am wanting to use this Bluetooth to send data to a mobile app, but I have no idea what the events are or how to define them. I was using an audio sink to test the connection and functionality out. The idea is to parse the data as a JSON and send it from the app to the device and visa versa.

Another problem I am having is that I can not compile the ArduinoJson library found here despite it saying it supports ESP32 devices.

I am spammed with various errors such as:

Code: Select all

 unknown type name 'namespace'
I have gotten previous errors with another module, saying the following error

Code: Select all

 unknown type name 'class' class
Despite it being in .cpp already

If anyone can help me with any of these problems I would really appreciate it!

Who is online

Users browsing this forum: Google [Bot] and 154 guests