Releases: sparkfun/SparkFun_Apple_Accessory_Arduino_Library
Releases · sparkfun/SparkFun_Apple_Accessory_Arduino_Library
Version 3.0.7.1
This release:
- Updates
setNMEApointers
to optionally include GPVTG:void setNMEApointers(char *latestGPGGA, char *latestGPRMC, char *latestGPGST = nullptr, char *latestGPVTG = nullptr);
- If VTG is available, it will be sent to the Device over the External Accessory session.
latestGPVTG
will point to NULL when the data has been absorbed.
- Adds
setEASessionPointer
void setEASessionPointer(char *latestEASessionData);
- This allows a blob of (e.g.) GSA and GSV NMEA messages to be sent to the Device over the External Accessory session.
- The NMEA messages must have CR+LF delimiters. LF is used to split the blob into transport packets of up to 1000 bytes.
- The blob must be NULL-terminated (
strlen
is used to calculate the length). latestEASessionData
points to NULL when the blob has been sent.
- Adds
latestEASessionDataIsBlocking
bool latestEASessionDataIsBlocking();
latestEASessionDataIsBlocking
returnstrue
whenlatestEASessionData
is being packetized and sent to the Device.- Super code threads / tasks should call
latestEASessionDataIsBlocking
and check it returnsfalse
before modifying or adding tolatestEASessionData
.
Version 3.0.7.0 - based on Arduino esp32 v3.0.7 (IDF 5.1)
This release includes breaking changes:
- The pre-compiled library binary is now compiled for Arduino esp32 v3.0.7
- The
libbt.a
included in the examples \ ESP32_BluetoothSerial \ patch folder is also compiled for v3.0.7 - If you need support for Arduino esp32 v3.2.0 (IDF 5.4), please pin your library to release v1.0.1
Fix header location
v1.0.1 Update library.properties
Initial release
v1.0.0 Add missing v3.2.0 .cpp files