Avatar for Vishnu

Vishnu

Member since Jan 2015 • Last active Dec 2020
  • 6 conversations
  • 26 comments

Most recent activity

  • in JavaScript
    Avatar for Vishnu

    Hi Gordon,

    I have used trace() but ... unable to understand, here i am attaching the files....
    please have a look at this....

    and after running " nrf_print("helloworld");" this one in console ... i am getting error as

    in function called from system
    Uncaught Error: Field or method "cjarCodeAt" does not already exist, and can't create it on String
    at line 4 col 16
    c1 = sentence.cjarCodeAt(i);

                ^
    

    in function "Checksum" called from line 6 col 28

    if ( Checksum(c[0],c[1]) ) {
                            ^
    

    in function "handleGPSLine" called from line 7 col 35

      handleGPSLine(line, callback);
                                   ^
    

    in function called from system
    at line 4 col 16
    c1 = sentence.cjarCodeAt(i);

                ^
    

    in function "Checksum" called from line 6 col 28

    if ( Checksum(c[0],c[1]) ) {
                            ^
    

    in function "handleGPSLine" called from line 7 col 35

      handleGPSLine(line, callback);
                                   ^
    

    in function called from system

  • in JavaScript
    Avatar for Vishnu

    Hi Gordon, i am using latest firmware.....
    what was the bug...?

    i will try using "trace"....

  • in JavaScript
    Avatar for Vishnu

    Hi Gordon,
    I am trying to update my application over the air... to do that i am reducing my application size by keeping module in the main firmware.....
    coming to Out of memory..... if i am using" Nrf.Sendstring();" i am facing the problem...when i am calling this i am checking "process.memory().usage" it is continuously decrementing....
    how to control this.....

  • in JavaScript
    Avatar for Vishnu

    Hi I am trying to use NRF module... I am inserted NRF module as a variable in "LIB/jswrap_***.c" file
    and i am getting that variable data and using "eval" to use that module... up to some time it is working good...
    but after some time i am getting "Out of memory while appending to array"
    what exactly this means? what things we need consider to get out of this problem.....

    Here i am attaching the file which i am using in firmware...

  • in JavaScript
    Avatar for Vishnu

    Hi Gordon its working... Thank you....

    • 4 comments
    • 2,524 views
  • in JavaScript
    Avatar for Vishnu

    Hi Gordon Thanks for the information ..... i will check it ...

  • in JavaScript
    Avatar for Vishnu

    Hi I am trying to use Serial-4 and Serial-5 when i am trying this i am getting error like this ...

    Uncaught Error: Field or method does not already exist, and can't create it on undefined
    at line 1 col 8
    Serial4.setup(9600);

        ^
    

    =undefined

    In the firmware... i have modified

    #define USARTS 3
    to
    #define USARTS 5
    Still i am getting error ....

    any suggestions

Actions