⚠️
Hi there.. thanks for coming to the forums. Exciting news! we’re now in the process of moving to our new forum platform that will offer better functionality and is contained within the main Dialog website. All posts and accounts have been migrated. We’re now accepting traffic on the new forum only - please POST any new threads at//www.wsdof.com/support. We’ll be fixing bugs / optimising the searching and tagging over the coming days.
2 posts / 0 new
Last post
MADHUSF
Offline
Last seen:1 month 2 days ago
加入:2018-01-15 09:22
Custom server

what is BLE_CUSTOM1_SERVER.
how many servers need to create i mean for each custom profile one server?

Device:
PM_Dialog
Offline
Last seen:1 day 1 hour ago
工作人员
加入:2018-02-08 11:03
Hi MADHUSF,

Hi MADHUSF,

Please check the ble_app_profile example of the SDK6.0.10 which is located under 6.0.10.511\projects\target_apps\ble_examples\ble_app_profile folder path. The BLE_CUSTOM1_SERVER is defined only if the CFG_PRF_CUST1 macro is defined in user_profiles_config.h file. The CFG_PRF_CUST1 macro included the Customer 1 service. The SDK includes a second service as well the Custom 2 service which is not included by default in the SDK examples. There is the implementation only of the Custom 2 Service and it is according to developer’s needs fi it is included or not. The ble_app_profile of the SDK includes the Custom 1 profile. So, the BLE_CUSTOM1_SERVER is for Custom 1 service and the BLE_CUSTOM2_SERVER is for Custom 2 Service if it is included. If you would like to create a third custom service, you should modify the SDK and create the service from the scratch, so it is not recommended. Please ready the following training that might help you:

Thanks, PM_Dialog