DEVZONE BLOG FEED

Wireshark (version 1.12.5 at the time of writting) lists MQTT as supported protocol but could not parse it from the TCP payload by default. We can add some plugins to enable it.Download the Wireshark Generic Dissector (WSGD) for Windows or Linux, with regard to the Wireshark versionhttp://wsgd.free.fr/download.htmlFind out where is the Global Plugins and Personal Plugins folder from menu Help / About Wireshark / Folders. Put the generic.dll (Win) or generic.so (Linux) to the Global Plugins or Perso...

The RADVD deamon in Raspberry pool is version 1.8.5 (up to Raspberry 2015-02-16).root@raspberrypi:~/radvd# apt-cache policy radvdradvd: Installed: 1:1.8.5-1 Candidate: 1:1.8.5-1 Version table: *** 1:1.8.5-1 0 500 http://mirrordirector.raspbian.org/raspbian/ wheezy/main armhf Packages 100 /var/lib/dpkg/statusLatest RADVD at the time of writing is 2.11, with many updates after 1.8.5:http://www.litech.org/radvd/Below are simple steps to build the latest RADVD natively on Raspberry Pi 2. Get build essential...

In SDK v8.1 we added the TWI driver (nrf_drv_twi.c). Unfortunately the nrf_drv_config.h file wasn't updated correctly with the new driver.The symptom is the error with "TWI_COUNT is missing". Here is what should be added to nrf_drv_config.h:/* TWI */#define TWI0_ENABLED 0#if (TWI0_ENABLED == 1)#define TWI0_CONFIG_FREQUENCY NRF_TWI_FREQ_100K#define TWI0_CONFIG_SCL 0#define TWI0_CONFIG_SDA 1#define TWI0_CONFIG_IRQ_PRIORITY APP_IRQ_PRIORITY_HIGH#define TWI0_INSTANCE_INDEX 0#endif#define TWI1_ENABLE...

DEVZONE FORUM

26.05.2015

sd_mutex usage

I need to write to a variable when a particular characteristic is written (from my "on_write" function), and be able to read this variable from main context. From the SoftDevice specification:"SoftDevice API functions can only be called from lower interrupt priority when compared to the SVC priority"So my questions is, can I use sd_mutex.. for this?Or will the interrupt priority level in functions called from my softdevice event handler (set by softdevice_ble_evt_handler_set() ) be too...

hello, I have some quesetion about the nrf51822's carrier detect. I want to use " CSMA" to avoid Communication collision, the datasheet has no detailed infomation about the carrier detect. the RSSI module of nrf51822 can work after the address matchths...

26.05.2015

App DFU support

Hello,I'm trying to implement a DFU support into the application, and in order to learn how it works, I'm following the steps at the page https://developer.nordicsemi.com/nRF51_SDK/nRF51_SDK_v7.x.x/doc/7.2.0/s110/html/a00066.html. The problem is that I cannot switch into the DFU mode. My PCA10028 board ends up in an unresponsive state and I have to reset it.This is the list of the steps:1. Built the app experiemental_ble_app_hrs_s110_with_dfu_pca10028 using gcc.2. Built a bootloader and flashed both 7.1 S...