|
Problem with the NVS filesystem on
#nrf52840
#nvs
Are you in interruption context when trying to read/write in the callback ? I doubt this is a good idea to access a filesystem from such place... (may sleep, may block...) You should defer the read/wr
Are you in interruption context when trying to read/write in the callback ? I doubt this is a good idea to access a filesystem from such place... (may sleep, may block...) You should defer the read/wr
|
By
Arnaud Mouiche
· #2243
·
|
|
Problem with the NVS filesystem on
#nrf52840
#nvs
Update: if I write and read in a function without some condition (i.e button is pressed) works fine. The problem is when the write/read process is taking place to button_pressed callback function.
Update: if I write and read in a function without some condition (i.e button is pressed) works fine. The problem is when the write/read process is taking place to button_pressed callback function.
|
By
Nikos Karamolegkos
· #2242
·
|
|
Problem with the NVS filesystem on
#nrf52840
#nvs
Hello again, I am following the NVS sample to create my own code in order to write to the NVS filesystem. The idea is to change a uint8 variable in the NVS when the button is pressed. Therefore, when
Hello again, I am following the NVS sample to create my own code in order to write to the NVS filesystem. The idea is to change a uint8 variable in the NVS when the button is pressed. Therefore, when
|
By
Nikos Karamolegkos
· #2241
·
|
|
LWM2M client to nrf582540-DK
#nrf52840
#networking
I just meant that OpenThread uses mbedTLS as it’s crypto library, for instance: https://github.com/openthread/openthread/blob/master/src/core/crypto/sha256.cpp#L41 Regards, Robert
I just meant that OpenThread uses mbedTLS as it’s crypto library, for instance: https://github.com/openthread/openthread/blob/master/src/core/crypto/sha256.cpp#L41 Regards, Robert
|
By
Lubos, Robert
· #2217
·
|
|
LWM2M client to nrf582540-DK
#nrf52840
#networking
Perfect. I will prepare the configuration for the contribution. I made the changes you proposed and worked (I set MAX_PACKET_SIZE to 1024). Just to be clear by what do you mean by "OT use mbedTLS inte
Perfect. I will prepare the configuration for the contribution. I made the changes you proposed and worked (I set MAX_PACKET_SIZE to 1024). Just to be clear by what do you mean by "OT use mbedTLS inte
|
By
Nikos Karamolegkos
· #2216
·
|
|
LWM2M client to nrf582540-DK
#nrf52840
#networking
Hi Nikos, Contributions are always welcome, would be also good to contribute the overlay-ot.conf to the lwm2m_client sample, once you have configuration that is proven to work. We even have an outstan
Hi Nikos, Contributions are always welcome, would be also good to contribute the overlay-ot.conf to the lwm2m_client sample, once you have configuration that is proven to work. We even have an outstan
|
By
Lubos, Robert
· #2214
·
|
|
LWM2M client to nrf582540-DK
#nrf52840
#networking
Thanks Robert, with your help I managed to make the OTBR work (I can make a documentation as contribution for the project if you are interested). Although, the device is registered to the leshan serve
Thanks Robert, with your help I managed to make the OTBR work (I can make a documentation as contribution for the project if you are interested). Although, the device is registered to the leshan serve
|
By
Nikos Karamolegkos
· #2212
·
|
|
LWM2M client to nrf582540-DK
#nrf52840
#networking
Hi Nikos, If you use CONF_FILE option, you need to specify both, prj.conf and the overlay: “-- -DCONF_FILE="prj.conf overlay-usb-nrf-br.conf"”. There’s also an OVERLAY_CONFIG option, where you can spe
Hi Nikos, If you use CONF_FILE option, you need to specify both, prj.conf and the overlay: “-- -DCONF_FILE="prj.conf overlay-usb-nrf-br.conf"”. There’s also an OVERLAY_CONFIG option, where you can spe
|
By
Lubos, Robert
· #2211
·
|
|
LWM2M client to nrf582540-DK
#nrf52840
#networking
I am a bit lost. I am trying to compile the OpenThread NCP sample in order to connect the nrf52840 dk with the raspberry which will be running the openthread border router docker image. In order to co
I am a bit lost. I am trying to compile the OpenThread NCP sample in order to connect the nrf52840 dk with the raspberry which will be running the openthread border router docker image. In order to co
|
By
Nikos Karamolegkos
· #2208
·
|
|
LWM2M client to nrf582540-DK
#nrf52840
#networking
I have a bunch of this type errors " #error "CONFIG_UART_INTERRUPT_DRIVEN must be set for CDC ACM driver", "error: 'const struct uart_driver_api' has no member named 'fifo_fill' 999 | .fifo_fill = cdc
I have a bunch of this type errors " #error "CONFIG_UART_INTERRUPT_DRIVEN must be set for CDC ACM driver", "error: 'const struct uart_driver_api' has no member named 'fifo_fill' 999 | .fifo_fill = cdc
|
By
Nikos Karamolegkos
· #2207
·
|
|
LWM2M client to nrf582540-DK
#nrf52840
#networking
Hi, I’ve just checked current master, and building with "overlay-usb-nrf-br.conf" worked fine for me. Perhaps you need to clear your build directory? Anyway, unless I miss something, it should be ok t
Hi, I’ve just checked current master, and building with "overlay-usb-nrf-br.conf" worked fine for me. Perhaps you need to clear your build directory? Anyway, unless I miss something, it should be ok t
|
By
Lubos, Robert
· #2206
·
|
|
LWM2M client to nrf582540-DK
#nrf52840
#networking
I am following this https://openthread.io/certification/border-router/device-setup tutorial. So I will USB. However, when I am trying to use "overlay-usb-nrf-br.conf" I have some errors while compilin
I am following this https://openthread.io/certification/border-router/device-setup tutorial. So I will USB. However, when I am trying to use "overlay-usb-nrf-br.conf" I have some errors while compilin
|
By
Nikos Karamolegkos
· #2205
·
|
|
LWM2M client to nrf582540-DK
#nrf52840
#networking
Hi Nikos, The project file selection depends on whether you want to use USB CDC or UART for the communication, by default UART is used, applying ` overlay-usb-nrf-br.conf` will switch to USB (you’ll n
Hi Nikos, The project file selection depends on whether you want to use USB CDC or UART for the communication, by default UART is used, applying ` overlay-usb-nrf-br.conf` will switch to USB (you’ll n
|
By
Lubos, Robert
· #2204
·
|
|
LWM2M client to nrf582540-DK
#nrf52840
#networking
Thank you Robert, so the idea is to flash this https://docs.zephyrproject.org/latest/samples/net/openthread/ncp/README.html on my nrf52840-dk and then using the openthread border router implementation
Thank you Robert, so the idea is to flash this https://docs.zephyrproject.org/latest/samples/net/openthread/ncp/README.html on my nrf52840-dk and then using the openthread border router implementation
|
By
Nikos Karamolegkos
· #2203
·
|
|
Blocking printk
#usb
#nrf52840
Hi to everyone: First post. I've a simple Zephyr RTOS program where I use USB CDC ACM to see the output of the console and also the printk output. Everything works fine, if I connect a terminal progra
Hi to everyone: First post. I've a simple Zephyr RTOS program where I use USB CDC ACM to see the output of the console and also the printk output. Everything works fine, if I connect a terminal progra
|
By
forum.contas@...
· #2190
·
|
|
Data Length Extension on NRF52840
#nrf52840
#ble
#hci
@Josh Can you give some insight, how you requested Data Length Extension? I can not find any documentation how to do this. I was able to enable to do it manually through the nRF Connect Tool, but need
@Josh Can you give some insight, how you requested Data Length Extension? I can not find any documentation how to do this. I was able to enable to do it manually through the nRF Connect Tool, but need
|
By
George Ruinelli
· #2176
·
|
|
HCI USB driver for Windows
#ble
#driver
#nrf52840
#usb
I have the HCI USB project built and running on my nRF52840 DK board. It works if I talk to it via ubuntu running under VirtualBox on my Win 10 system, but not if I plug it into a Raspberry Pi, or my
I have the HCI USB project built and running on my nRF52840 DK board. It works if I talk to it via ubuntu running under VirtualBox on my Win 10 system, but not if I plug it into a Raspberry Pi, or my
|
By
todd.krein@...
· #2173
·
|
|
LWM2M client to nrf582540-DK
#nrf52840
#networking
Hi Nikos, Unfortunately, we don’t have a step-by-step guide for the scenario you describe, but I can provide you with some guidelines. OpenThread has a reference implementation of border router, which
Hi Nikos, Unfortunately, we don’t have a step-by-step guide for the scenario you describe, but I can provide you with some guidelines. OpenThread has a reference implementation of border router, which
|
By
Lubos, Robert
· #2169
·
|
|
LWM2M client to nrf582540-DK
#nrf52840
#networking
Hi all, I have two nrf582540-dk modules and I would like to run the lwm2m client example of the link using the leshan server. How could I implement this using real device? How my 802.15.4 device will
Hi all, I have two nrf582540-dk modules and I would like to run the lwm2m client example of the link using the leshan server. How could I implement this using real device? How my 802.15.4 device will
|
By
Nikos Karamolegkos
· #2151
·
|
|
Need help in configuring ip address from telnet or ssh
#nrf52840
Hi, there is net_if_ipv4_addr_add() function that can be used to add an IPv4 address to the network interface at runtime. Cheers, Jukka
Hi, there is net_if_ipv4_addr_add() function that can be used to add an IPv4 address to the network interface at runtime. Cheers, Jukka
|
By
Jukka Rissanen
· #2069
·
|