Hi,
I have 2 issues need to support, please! :
1/ In the function : app_configuration_func() i noticed at device role( GAP_PERIPHERAL_SLV) and the Device Appearance. Could i change device role in the central mode(GAP_CENTRAL_MST) and what does device apperance mean?
2/ I am testing DSPS on my Basic dev kit but i have no ideas about why it does not display my passcode which created from TK method, i mean if source code could generated passcode following what i have already defined in the function: // void app_send_pairing_rsp_func(struct gapc_bond_req_ind *param) , then it must be displayed on my android phone.
I'll greatly appreciate your help!
Thanks,
Blue
Android是一个中央。所以I am assuming that you want the peripheral role on the DA14580. That means you basically expose services and are a source of information, such as sensor devices. It is good to do the peripheral role because support for the central role on the DA14580 has a long way to go. The central is also taking a back seat to the peripheral because the DA14580 does not really have the resources to be a central, at least a fully hosted central.
If you want to change the role to a central you will have a lot of work to do, especially if you are starting from their template projects. When changing to a central, there will be a great deal of code that does not get if-defed out that is peripheral only and nothing will work. So be prepared to do a lot of digging.
The appearance value is not too much to worry about. Its basically a set of numbers dreamed up by Bluetooth SIG that describes what your device might look like. You can find these numbers on the Bluetooth SIG and or developer's web site. I wondered the same thing at one time, found them and haven't thought about it since. But I am developing a central on this platform where that number means even less.
Hi you all,
My team have been working on KBD Ref Design since last week. We have already implemented some features on this one. But we are wondering that Could we change GAP role between my dev kit which run KBD source code and and IOS Device? We intend to set up a passcode entry mode for IOS device! There have any Ref Desgin to prefer ?
BestRegards,
Chung Tran