Open esemwy opened 7 years ago
Ah, it was newConnection
that was undefined in the accessory. Added it and deadConnection
. It runs now, but the accessory is not supported. Will continue... Assistance still welcome. I'm just trying to produce a simple accessory that prints state changes on the console.
I've made changes such that the example compiles, but I get a segmentation fault during the initial pairing. The changes consist of changing
setValue
calls tocharacteristics::setValue
and addingconnectionInfo*
to the identify callbacks. I'm working on Raspbian. Can anyone out there enlighten me?I've determined that the fault happens sometime after
connectionInfo::handleAccessoryRequest
from this GDB back-trace, but I can't get any farther.Here's my version of the Accessory.cpp