|
Running ZTest for custom drivers on Boards.
Hello All,
I created a custom driver for one of our device on a board and wanted to write testcases for it. I can build the testcases by following other test driver folders like gpio or i2c ,
Hello All,
I created a custom driver for one of our device on a board and wanted to write testcases for it. I can build the testcases by following other test driver folders like gpio or i2c ,
|
By
dhguja@gmail.com
·
#505
·
|
|
(#BluetoothMesh) just binding APP-key allow SRV to process the message
Using #meshctl I gave following commands to BOARD_1
appkey-add 1
bind 0 1 1000
bind 0 1 1001
bind 0 1 1002
bind 0 1 1003
sub-add 0100 c000 1000
sub-add 0100 c001 1000
pub-set 0100 c000 1 0 5
Using #meshctl I gave following commands to BOARD_1
appkey-add 1
bind 0 1 1000
bind 0 1 1001
bind 0 1 1002
bind 0 1 1003
sub-add 0100 c000 1000
sub-add 0100 c001 1000
pub-set 0100 c000 1 0 5
|
By
Vikrant More <vikrant8051@...>
·
#504
·
|
|
(#BluetoothMesh) just binding APP-key allow SRV to process the message
Using #meshctl I gave following commands to BOARD_1
appkey-add 1
bind 0 1 1000
bind 0 1 1001
bind 0 1 1002
bind 0 1 1003
sub-add 0100 c000 1000
sub-add 0100 c001 1000
pub-set 0100 c000 1 0 5
Using #meshctl I gave following commands to BOARD_1
appkey-add 1
bind 0 1 1000
bind 0 1 1001
bind 0 1 1002
bind 0 1 1003
sub-add 0100 c000 1000
sub-add 0100 c001 1000
pub-set 0100 c000 1 0 5
|
By
Vikrant More <vikrant8051@...>
·
#503
·
|
|
Re: RPI 3 bluez recipe
Sorry meant to be prov_db.json. autocorrect failed me.
Sent from my Samsung Galaxy smartphone.
Sorry meant to be prov_db.json. autocorrect failed me.
Sent from my Samsung Galaxy smartphone.
|
By
Hongjian Fan <fan@...>
·
#502
·
|
|
RPI 3 bluez recipe
Hi
Trying meshctl from latest bluez git checkout with latest raspbian on RPI 3, Failed to parse provide.json. Wondered how you successfully run on it. Can please share detailed instructions?
Thanks!
Hi
Trying meshctl from latest bluez git checkout with latest raspbian on RPI 3, Failed to parse provide.json. Wondered how you successfully run on it. Can please share detailed instructions?
Thanks!
|
By
Hongjian Fan <fan@...>
·
#501
·
|
|
1-32khz sensor-sampling loop
hi all,
i'd like to sample a sensor (actually several sensors) in precise intervals at speeds up to 32khz.
it seems timer and sleep functions only have millisecond resolution and I cannot busy
hi all,
i'd like to sample a sensor (actually several sensors) in precise intervals at speeds up to 32khz.
it seems timer and sleep functions only have millisecond resolution and I cannot busy
|
By
nathan
·
#500
·
|
|
Re: [Zephyr-devel] FW: support for NFFS file system
Hello World !!
What to do so that every fs_write( ) will save data on next new line ?
Similarly what to do so that every fs_read() will read data from next new line ?
Thank You !!
Hello World !!
What to do so that every fs_write( ) will save data on next new line ?
Similarly what to do so that every fs_read() will read data from next new line ?
Thank You !!
|
By
Vikrant More <vikrant8051@...>
·
#499
·
|
|
Re: [Zephyr-devel] FW: support for NFFS file system
Hi Vikrant,
Yes, we would like the sample to be merged, but you need to send a Pull Request using GitHub.
Please read through the Contribution
Hi Vikrant,
Yes, we would like the sample to be merged, but you need to send a Pull Request using GitHub.
Please read through the Contribution
|
By
Carles Cufi
·
#498
·
|
|
Re: [Zephyr-devel] FW: support for NFFS file system
https://github.com/vikrant8051/zephyr-samples-boards-nrf52-nffs
Are you want this ?
Thank You !!
https://github.com/vikrant8051/zephyr-samples-boards-nrf52-nffs
Are you want this ?
Thank You !!
|
By
Vikrant More <vikrant8051@...>
·
#497
·
|
|
Re: [Zephyr-devel] FW: support for NFFS file system
> I request Zephyr OS maintainer to create & add following attached main.c under $zephyr_base/samples/boards/nrf52/nffs/src
& prj.conf under $zephyr_base/samples/boards/nrf52/nffs/ on Github.
> I request Zephyr OS maintainer to create & add following attached main.c under $zephyr_base/samples/boards/nrf52/nffs/src
& prj.conf under $zephyr_base/samples/boards/nrf52/nffs/ on Github.
|
By
Puzdrowski, Andrzej <Andrzej.Puzdrowski@...>
·
#496
·
|
|
Re: Saving #BluetoothMesh Provisioning & Configuration related data on flash of nRF52 using NFFS
#bluetoothmesh
As per this document ....
nrf5_SDK_for_Mesh_v1.0.1_src/doc/introduction/mesh_hw_resources.md
(I've attached this file for reference......very informative)
The mesh stack uses flash to store the
As per this document ....
nrf5_SDK_for_Mesh_v1.0.1_src/doc/introduction/mesh_hw_resources.md
(I've attached this file for reference......very informative)
The mesh stack uses flash to store the
|
By
Vikrant More <vikrant8051@...>
·
#495
·
|
|
Re: Saving #BluetoothMesh Provisioning & Configuration related data on flash of nRF52 using NFFS
#bluetoothmesh
After testing I found that it is necessary to add __attribute__((packed)) after structure definationWhy ?? This will be helpful --> http://www.avabodh.com/cin/structure.html
So I edit above mentioned
After testing I found that it is necessary to add __attribute__((packed)) after structure definationWhy ?? This will be helpful --> http://www.avabodh.com/cin/structure.html
So I edit above mentioned
|
By
Vikrant More <vikrant8051@...>
·
#494
·
|
|
Saving #BluetoothMesh Provisioning & Configuration related data on flash of nRF52 using NFFS
#bluetoothmesh
Hello World !!
By including NFFS support into #BluetoothMesh project, now I can access flash of nRF52.
{
Some useful links:
http://docs.zephyrproject.org/api/file_system.html
Hello World !!
By including NFFS support into #BluetoothMesh project, now I can access flash of nRF52.
{
Some useful links:
http://docs.zephyrproject.org/api/file_system.html
|
By
Vikrant More <vikrant8051@...>
·
#493
·
|
|
Re: [Zephyr-devel] FW: support for NFFS file system
I forgot to inform that, we have to add ext/fs/nffs/include into list of include directories.
For that edit $zephyr_base/CMakeLists.txt as follow .... so it will looks
I forgot to inform that, we have to add ext/fs/nffs/include into list of include directories.
For that edit $zephyr_base/CMakeLists.txt as follow .... so it will looks
|
By
Vikrant More <vikrant8051@...>
·
#491
·
|
|
Re: [Zephyr-devel] FW: support for NFFS file system
Thanks Michael !!
Now I can access flash of nRF52840 using NFFS file system APIs.
I request Zephyr OS maintainer to create & add following attached main.c under
Thanks Michael !!
Now I can access flash of nRF52840 using NFFS file system APIs.
I request Zephyr OS maintainer to create & add following attached main.c under
|
By
Vikrant More <vikrant8051@...>
·
#492
·
|
|
Re: [Zephyr-devel] FW: support for NFFS file system
You can look up the error numbers to see what they mean in:
https://github.com/zephyrproject-rtos/zephyr/blob/master/lib/libc/minimal/include/errno.h
-19 is ENODEV which suggests you have a flash
You can look up the error numbers to see what they mean in:
https://github.com/zephyrproject-rtos/zephyr/blob/master/lib/libc/minimal/include/errno.h
-19 is ENODEV which suggests you have a flash
|
By
Michael Hope
·
#490
·
|
|
hiding GATT peripheral services till Passkey pairing
Hello World !!
https://devzone.nordicsemi.com/blogs/1235/nrf-blinky-compatible-firmware-using-zephyr-blueto/
I modified $zephyr_base/sample/bluetooth/peripheral/src/main.c as mentioned above.
Using
Hello World !!
https://devzone.nordicsemi.com/blogs/1235/nrf-blinky-compatible-firmware-using-zephyr-blueto/
I modified $zephyr_base/sample/bluetooth/peripheral/src/main.c as mentioned above.
Using
|
By
Vikrant More <vikrant8051@...>
·
#489
·
|
|
Re: [Zephyr-devel] FW: support for NFFS file system
fs_open( ) returns -19 instead of 0.
fs_open( ) returns -19 instead of 0.
|
By
Vikrant More <vikrant8051@...>
·
#488
·
|
|
Re: [Zephyr-devel] FW: support for NFFS file system
Hi Vikrant. I'm pretty sure you're reading past the end of the file - you'll need to close and reopen it before you can read back what you just wrote. Try something
Hi Vikrant. I'm pretty sure you're reading past the end of the file - you'll need to close and reopen it before you can read back what you just wrote. Try something
|
By
Michael Hope
·
#487
·
|
|
Re: [Zephyr-devel] FW: support for NFFS file system
Hi Vinayak, it works !!
I make following changes .....
fs_file_t my_zfp;
unsigned char ptr[32];
for(cntr=0;cntr<=31;cntr++)
{
ptr[cntr]='@';
}
Hi Vinayak, it works !!
I make following changes .....
fs_file_t my_zfp;
unsigned char ptr[32];
for(cntr=0;cntr<=31;cntr++)
{
ptr[cntr]='@';
}
|
By
Vikrant More <vikrant8051@...>
·
#486
·
|