/lib/<libraryname>/src
under /<project dir>
and add the .h
, .cpp
& library.properties
files for your library there. Read the Firmware Libraries guide for more details on how to develop libraries. Note that all contents of the /lib
folder and subfolders will also be sent to the Cloud for compilation.
particle compile <platform>
in the CLI or click the Compile button in the Desktop IDE. The following files in your project folder will be sent to the compile service:
/src
folder, including your .ino
application fileproject.properties
file for your projectlib/<libraryname>/src
firmware.bin
.
Next lets look at the OTA functionality and how we can incorporate it into our project.
Mark development device
https://ingestion.edgeimpulse.com/api/training/data
.x-api-key
: Your Edge Impulse API key.Content-Type
: “application/json”.x-file-name
: Use a dynamic data field like {{PARTICLE_EVENT_NAME}}
.{{PARTICLE_DEVICE_ID}}/hook-response/{{PARTICLE_EVENT_NAME}}
.