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

NRFGo Studio services.h error in Smart Starter Kit

Hi,

I just got an Arduino and a BLE shield. I was following the Smart Starter Kit. The demo project have me errors, so I just started using the proximity example, and editing it. But when I use the NRFGo Studio and create the services.h file I get error in the Arduino enviroment (the proximity profile works fine until I update the services.h file).

What I saw is that the new file I get has this functions:

bool services_send_battery_battery_level(uint8_t src, bool is_freshest_sample);

void services_set_battery_battery_level(uint8_t src);

...

The original file (the one that works) doesn't have this functions.... So I would like to know what I'm doing wrong at this moment. As it seems I'm just skipping one step.

Thanks for your help.

  • Hi,

    There is a bat file in the project folder that you should use to generate the services.h file.

    1. modify the xml file and save it using nRFgo studio.
    2. Generate the service.h file using the bat file in the folder