HomeKit icon indicating copy to clipboard operation
HomeKit copied to clipboard

homekit ble sdk and gcc version

Open hongfadg2018 opened this issue 7 years ago • 7 comments

Can you tell me the ble sdk and gcc version,Thank you! [email protected]

hongfadg2018 avatar Jul 28 '17 08:07 hongfadg2018

Looking at some of the files looks like this is written to support the S130 soft device, which would be a rev 3 NRF51822, which support SDK 8.1 to 12.3 and soft device versions 1.0.0 to 2.0.x.

Alternatively it looks like it may also support NRF52 series devices running soft device S132 and using 12.3 -14

maccoylton avatar Oct 16 '17 18:10 maccoylton

Looks like the code uses pstorage which was deprecated and replaced with fstorage with SDK 12, therefore looks like it will have to be SDK11 or earlier without modify the code

maccoylton avatar Oct 16 '17 20:10 maccoylton

Got it to build with SDK 9 , now onto debugging.

maccoylton avatar Oct 28 '17 15:10 maccoylton

Got it working, the last trick was to ensure I had v1 of the S130 softdevice which seems to be the version supported by v9 of the sdk. I also used mergehex to merge the softdevice and the program prior to flashing it to the board using openocd. Paired successfully and the LED switches on and off.

maccoylton avatar Oct 28 '17 22:10 maccoylton

@maccoylton Cool, do you intend to fork and document these things somewhere outside this project? Or perhaps publish a makefile to avoid eclipse.

AdySan avatar Oct 28 '17 22:10 AdySan

and nrf52_sdk should be 0.9.2 @maccoylton. I tried to connect it in my iPhone with iOS 12,it failed。 But with iOS 10 is working fine. Is the same status with you?

ganhailin avatar Jul 02 '19 18:07 ganhailin

and nrf52_sdk should be 0.9.2 @maccoylton. ...

@ganhailin yes same for me

Sent with GitHawk

maccoylton avatar Jul 14 '19 20:07 maccoylton