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

Using PCA10031 for ble_app_multilink_peripheral

Hello,

I would like to use the PCA10031 Dongle as the peripheral with the multilink examples. I will be wiring up a button to the available GPIO and using this for a space constrained prototype. Before I dive in to make the appropriate changes, I'd like to know what I should be altering in the ble_app_multilink_peripheral_s110_pca10028 example beyond changing the board define from BOARD_PCA10028 to BOARD_PCA10031.

Thank you!

Parents
  • Hi

    I would not think there were any other changes required, as documented here. In this particular example, a button is needed for the operation, but since you intend to hook up the GPIO pin with an external button, I expect you only need to change the define BOARD_PCA10028 to BOARD_PCA10031.

    Update14.1.2014 Actually you would need to hook up two buttons, as defined in the mulitilink peripheral example:

    #define SEND_NOTIFICATION_BUTTON_ID        0 
    #define BOND_DELETE_ALL_BUTTON_ID          1
    

    You would also need to enable the buttons in pca10031.h by defining

    #define BUTTONS_NUMBER 2
    

    as well as define the used buttons in pca10031.h in a similar way as in pca10028.h

Reply
  • Hi

    I would not think there were any other changes required, as documented here. In this particular example, a button is needed for the operation, but since you intend to hook up the GPIO pin with an external button, I expect you only need to change the define BOARD_PCA10028 to BOARD_PCA10031.

    Update14.1.2014 Actually you would need to hook up two buttons, as defined in the mulitilink peripheral example:

    #define SEND_NOTIFICATION_BUTTON_ID        0 
    #define BOND_DELETE_ALL_BUTTON_ID          1
    

    You would also need to enable the buttons in pca10031.h by defining

    #define BUTTONS_NUMBER 2
    

    as well as define the used buttons in pca10031.h in a similar way as in pca10028.h

Children
Related