SUPL connection setup

HI Sir/Madam

I downloaded SUPL-C sdk 0.7.2 ad I add the following variable to the prj.conf

#SUPL client library
CONFIG_SUPL_CLIENT_LIB=y
CONFIG_GNSS_SAMPLE_ASSISTANCE_SUPL=y
CONFIG_GNSS_SAMPLE_SUPL_HOSTNAME="supl.google.com"
CONFIG_GNSS_SAMPLE_SUPL_PORT=7276
when I build the program, it reports 
/Users/kevin/Dev/NordicCubee/minicube_main_firmware/prj.conf:34: warning: attempt to assign the value 'y' to the undefined symbol GNSS_SAMPLE_ASSISTANCE_SUPL

/Users/kevin/Dev/NordicCubee/minicube_main_firmware/prj.conf:35: warning: attempt to assign the value '"supl.google.com"' to the undefined symbol GNSS_SAMPLE_SUPL_HOSTNAME

/Users/kevin/Dev/NordicCubee/minicube_main_firmware/prj.conf:36: warning: attempt to assign the value '7276' to the undefined symbol GNSS_SAMPLE_SUPL_PORT

error: Aborting due to Kconfig warnings
I get this variable from the readme file. Please let me know why I can't use this value. Should I use socket to connect SUPL server instead?
  • Hi

    Board: nrf9160

    NCS version: I try to use 2.6.1 and 2.70.

    2.6.1 has smaller compiled binary but still overflow the flash.

    Do you know what's the normal binary size if I use supl client.

    BR Qiang 

  • Hi Qiang,

    Do you use nrf9160-dk or custom board with nrf9160?

    Can you provide logs when using both NCS v2.6.1 and NCS v2.7.0 which show flash overflow?
    For testing, please try on both nrf9160-dk board and your custom board (in case you use custom board). Is there any difference with regard to flash overflow?

    Best regards,
    Dejan

  • Hi Dejans

    I can't use nrf9160-dk to compile and I have to use our custome board. 

    /opt/nordic/ncs/toolchains/f8037e9b83/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd: zephyr/zephyr_pre0.elf section `rodata' will not fit in region `FLASH'
    /opt/nordic/ncs/toolchains/f8037e9b83/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd: region `FLASH' overflowed by 6540 bytes
    collect2: error: ld returned 1 exit status
    ninja: build stopped: subcommand failed.
    FATAL ERROR: command exited with status 1: /opt/nordic/ncs/toolchains/f8037e9b83/bin/cmake --build /Users/kevin/Dev/NordicCubee/minicube_main_firmware/build

  • Hi Qiang,

    Is the log shown taken when you used NCS v2.6.1 or NCS v2.7.0?

    Are you able to build your project without SUPL client code?

    dejans said:
    Can you provide more information about your application?

    Can you provide more information about your project? What are you trying to achieve?

    Best regards,
    Dejan

Related