DEVZONE FORUM

Hi, I tried looking for an answer for this, however unsuccessfully.I have a custom characteristic and I set it with a string of values when it is added to the custom service.I need to remove those values or if cannot remove, to replace the string with a zero.For example: 0x01, 0x02, 0x03... ==> 0x00 I can set the zero to the characteristic value, however it only replaces the first byte of the string, leaving other bytes untouched. Setting NULL does nothing.How could I clear the string away?Thank you!...

26.09.2018

Custom HID

Hi,I'm trying to build a custom HID device. Please have a look at my code. I'm not able to receive any bytes on the host machine (I'm using HID API). The Nordic board connects to the bluetooth of the computer, but fails to send any data. Sorry for pasting code like this, but the website wasnt allowing me to use insert code link. /** * Copyright (c) 2012 - 2018, Nordic Semiconductor ASA * * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, * a...

25.09.2018

SDK Warning

Greetings, I'm getting some trouble trying to fix a warning. I'm running the exemple ble_app_uart_c from the folder ble_central. When I run it, I keep getting the warning: warning: comparison of constant 32 with expression of type 'IRQ_type' is always true On file nrf_nvic.h on Line 165. Any idea of how fixing this warning?...

DEVZONE BLOG FEED

This blog describes how you can setup a Segger Embedded Studio example for PCA10040E (emulating nRF52810) from nRF5 SDK 14.2 to use S132 v5.1.0, instead of S112. The procedure should be similar for the other toolchains.nRF5 SDK 14.2 officially ...(read more)...

This is a follow-up to my previous blog post; adding custom commands to a BLE example.I hope it was interesting to see an example of adding the vendor specific Nordic UART service (NUS) into another project.For completeness, I wanted to share step...(read more)...

A common thing to do is to use the Nordic UART Service for quick prototyping.Often the example itself is used as a starting point (ble_app_uart). But sometimes we use other starting points, and want to include parts of another example in our ap...(read more)...