How do I create custom services and characteristics on pca10031 dongle? The tutorial files provided contain 10028 and 10040 but not 10031
How do I create custom services and characteristics on pca10031 dongle? The tutorial files provided contain 10028 and 10040 but not 10031
The chip in PCA10031 is the same as PCA10028. You should therefore be able to use the tutorial and change the PCA10028 project to work with the PCA10031 board. The project uses the BSP package to handle the different pinouts to leds and buttons.
By changing the define in pre-processor symbols in C/C++ tab in project options from BOARD_PCA10028 to BOARD_PCA10031. I have only tested on the characteristics tutorial, and here I needed to change LED_4 in step 3.F to BSP_LED_2 to make the project compile without warnings.
The chip in PCA10031 is the same as PCA10028. You should therefore be able to use the tutorial and change the PCA10028 project to work with the PCA10031 board. The project uses the BSP package to handle the different pinouts to leds and buttons.
By changing the define in pre-processor symbols in C/C++ tab in project options from BOARD_PCA10028 to BOARD_PCA10031. I have only tested on the characteristics tutorial, and here I needed to change LED_4 in step 3.F to BSP_LED_2 to make the project compile without warnings.