Hi, Do we have Blue tooth developer studio plug-in for generating code for SDK 12.0.0?
Hi,
The last official release of the BDS-plugin was for SDK 11. You can get it to work with SDK 12, but it's not 100% compatible. Take a look at the infocenter page Bluetooth Developer Studio Example. Copy the plugin-folder(Nordic Semiconductor v1.2.2
) to Bluetooth Developer Studio\Plugins
.
After you have created your services with BDS, copy the generated files to SDK_INSTALL_FOLDER\examples\ble_peripheral\experimental_bluetoothds_template
Edit: app_trace was removed in SDK12. Attached is a new plugin service_template file where app_trace is removed, add it to
Bluetooth Developer Studio\Plugins\Nordic Semiconductor v1.2.2
I have generated using Nordic Semiconductor v1.2.2 and integrated to SDK 12.1.0, But sources contains app_trace_log which is not available in 12.1.0. Also source generated is working without any issues in SDK 11.0.0 ,but for 12.1.0 it is very unstable.
Example :- In Below structure declared as uint8_array_t data,p_data pointer is corrupted . In SDK 11.0.0 p_data value correct with RAM address 0x2XXXXXXX and in 12.1.0 it is 0x00000050
typedef struct
{
uint16_t size; /**< Number of array entries. */
uint8_t * p_data; /**< Pointer to array entries. */
} uint8_array_t
Is the Source generated is taking care of API changes in SDK 12.1.0?
I added a new service template plugin file, where app_trace is removed. The RAM settings are configured in Keil, and the default values for the project are correct. Start: 0x20002128 and size: 0xDED8. The API calls generated by the plugin should be compatible with SoftDevice S132 V3.