I am trying to accomplish the following very simple task: use the broadcasting function of my nrf 8001 to send up to 19 Bytes of data over the air (connectionless).
I tried to follow these instructions but nRFgo Studio does not generate the service.h file and throws the quoted error message instead. I am sure, something is just set up wrong and the error will go quickly as soon as a professional will have a look at this.
This is the output:
Generating code
Calling init with format code set to:0x3 Security set to: 0x0
Init called with apperance:0000
Init called with with clocksource: 0x1 Clock accuracy: 0x1 16MHz clock bypass setting set to 0x0
Init called with dcdc converter enable set to 0x0
Init called with devicenamewritelength 0x0
gap_set_device_name name: PXT001short length: 0x1length: 0x6
ublue_setup_sec_set_params called with: auth_req: 0x0 io caps: 0x0 oob: 0x0 minimum size: 0x7 maximum key size: 0x10 bond timeout: 0x258 security request delay: 0x0
Disabeling window limiting
ublue_setup_hw_set_window_limit called with: limit set to: 0xff auto off counter set to: 0xff dropedPacketThreshold set to: 0xff
hw_set_active_signal called with mode: 0x0 and distaceToTick: 0x0
hw_ad_set_tx_power called with inital power: 3 and gain set to: 0
ublue_setup_gap_set_ppcp called with inital minimum: 0x6 maximum 0x6 slave latency: 0x0 timeout multiplier: 0xffff
Adding primary service with UUID: 0x0 base index: 0x1 and with location set to: 0x1
Adding characteristic with uuid: 0x2a29base: 0x1 maxdatalength: 19 attribute_len_type:0x1 description format code: 0x19 exponent: 0x0 unit: 0x0 namespace: 0x1 descriptor: 0x0 size of default value: 19 default value: NordicSemiconductor forceToOpen 0x0 forceEncryption 0x0
Defining pipe with id: 0x1 UUID: 2a29 Pipe type: 0x1 Security setting: 0x0
Defining pipe with id: 0x2 UUID: 2a29 Pipe type: 0x80 Security setting: 0x0
Calling ublue_setup_ad_select_custom_fields with
gmfields: 0x0scan response 0x0
bonded: 0x0scan response 0x0
brodcast: 0x0scan response 0x0
ublue_setup_ad_set_svcuuids:
Number of local: 0 local uuids:
Number of remote: 0 remote uuids:
Calling: ublue_setup_set_timing_change_delay with value 0x5
Calling ublue_setup_ad_select_fields with
gmfields: 0x10scan response 0x0
bonded: 0x0scan response 0x0
brodcast: 0x1010scan response 0x10
Calling ublue_setup_gen_cmds called with data_storage set to: 0x1 setup_id set to: 0
Generate cmds failed Error code: 0x1
I attached my profile file so you can test it: default_profile.xml.