hi,
i am doing nrf_mesh_dfu example with nrf_sdk_for_mesh v1.0.1.
so far i am able to generate device public_key and private key by following instructions.
and also generated dfu file. but when i added public key in "bootloader_config_default.json" which is exacty like this.
{
"bootloader_config": {
"bootloader_id": 1,
"bootloader_version": 1,
"company_id": 89,
"application_id": 1,
"application_version": 1,
"public_key": "34fdf55c448c77577f69e2969189d946cabf9aaefdce3cacf64e4dbd4d10781d67ccc090838cc43ea3c3e6f91c0646b538e33656733c98a80a7d1ea65697ec9e"
}
}
for above json file i got error:
Traceback (most recent call last):
File "device_page_generator.py", line 241, in <module>
main()
File "device_page_generator.py", line 235, in main
write_specific_page(platforms, softdevices, args)
File "device_page_generator.py", line 178, in write_specific_page
device_page = DevicePage(platform, softdevice, bootloader_config)
File "device_page_generator.py", line 94, in __init__
self.generate_entries(platform, softdevice, bootloader_config)
File "device_page_generator.py", line 103, in generate_entries
DevicePageEntry(BLInfoType.ECDSA_PUBLIC_KEY, public_key))
File "device_page_generator.py", line 69, in __init__
raise TypeError
TypeError
but when i remove public key entry from json file it successfully creates device_page.hex
i also want to know that it is necessary to add public key in json file. if remove private key from dfu package.
please help me out.