This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nRFGO services.c files with nRF8001 Arduino SDK

Hi, I have been using the nRF8001 Arduino SDK with nRF8001 chip. I wanted to set the data for the different services I'm using and thought I would go ahead and use the services.c file generated by nRFGO Studio. But the file that nRFGO Studio generates (and I have the latest 1.16.1 version) won't work with the Arduino SDK. The function calls in services.c to lib_aci.h functions are wrong. Is there any version of nRFGO Studio that could be used to generate a working services.c file?

Parents
  • Hi,

    For the Arduino SDK there is a .bat file in the example project folders, you should use one of these to generate the Service.c file. By default the service files are generated with some functions that we do not want/need for the Aduino SDK, so we added several generating options for the studio to support both the new and the old SDK.

    To generate the service file: "%NRFGOSTUDIOPATH%\nrfgostudio.exe" -nrf8001 -g UART_over_BLE.xml -codeGenVersion 1 -o

    Best regards,

Reply
  • Hi,

    For the Arduino SDK there is a .bat file in the example project folders, you should use one of these to generate the Service.c file. By default the service files are generated with some functions that we do not want/need for the Aduino SDK, so we added several generating options for the studio to support both the new and the old SDK.

    To generate the service file: "%NRFGOSTUDIOPATH%\nrfgostudio.exe" -nrf8001 -g UART_over_BLE.xml -codeGenVersion 1 -o

    Best regards,

Children
No Data
Related