by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • 04:14
    matinpf commented #1281
  • 01:21
    g-oikonomou commented #1284
  • 01:10
    dpapdpap commented #1284
  • 01:01
    dpapdpap commented #1284
  • 00:59
    g-oikonomou commented #1284
  • 00:59
    dpapdpap closed #1284
  • 00:57
    dpapdpap commented #1284
  • 00:53
    g-oikonomou commented #1284
  • 00:44
    dpapdpap commented #1284
  • 00:36
    g-oikonomou commented #1284
  • 00:35
    dpapdpap commented #1284
  • 00:26
    g-oikonomou labeled #1283
  • 00:26
    g-oikonomou labeled #1283
  • 00:26
    g-oikonomou labeled #1280
  • 00:25
    g-oikonomou milestoned #1283
  • 00:25
    g-oikonomou labeled #1283
  • 00:23
    g-oikonomou milestoned #1280
  • 00:22
    g-oikonomou labeled #1280
  • 00:22
    g-oikonomou labeled #1280
  • 00:21
    g-oikonomou assigned #1280
jsolderitsch
@jsolderitsch
But I check with TI's Starter iOS program and there is no device name there that I recognize
George Oikonomou
@g-oikonomou
If memory serves we were testing things with https://apps.apple.com/us/app/lightblue/id557428110
jsolderitsch
@jsolderitsch
Nice -- that one wasn't on my radar.
Andrea Stevanato
@thymbahutymba
@g-oikonomou I'm try to execute the function on coap_get_post_variable where the payload is a json and it doesn't works. I look at the function coap_get_variable and something caught my attention the start[name_len] = "=". Actually if the payload is json should be : I guess. How is the correct way to fetch the variable from json payload?
mohanmaniramesh
@mohanmaniramesh
@g-oikonomou can you please check my thread
regarding ADXL345
jsolderitsch
@jsolderitsch
The bmp sensor works for me for Simplelink
George Oikonomou
@g-oikonomou
So the BMP and the OPT work fine, but only if used alone...
If used together, the one initialised first wins
the HDC works but produces nonsense values
the TMP driver returns an error when trying to read
the MPU works but produces nonsense values
basically all 6 axes always return a value of -0.01
Clearly we need to look at the drivers
jsolderitsch
@jsolderitsch
Not for me. BMP used alone works but OPT does not work for me alone either
George Oikonomou
@g-oikonomou
Look at the SENSORS macro in sensortag-sensors.c
remove the reference from there
jsolderitsch
@jsolderitsch
I don't get HDC or MPU to work even with nonsense values
OK, I will try and duplicate. And yes TMP is problematic for me as well.
George Oikonomou
@g-oikonomou
what a mess :S
jsolderitsch
@jsolderitsch
Well, at least progress is being made...
George Oikonomou
@g-oikonomou
I am pretty sure the problem is with I2C_Open
I am pretty sure it should be followed by a Close when the transaction is finished
jsolderitsch
@jsolderitsch
Makes sense -- interested to hear if you can make progress. I2C stuff is in the weeds pretty much for me.
George Oikonomou
@g-oikonomou
Pah
Maybe I'm talking nonsense
George Oikonomou
@g-oikonomou
  *  @return A I2C_Handle on success, or a NULL on an error or if it has been
 *          already opened.
So yes, cannot open if open
George Oikonomou
@g-oikonomou
I think I am close to getting BMP & OPT at the same time
Andrea Stevanato
@thymbahutymba

@g-oikonomou I'm try to execute the function on coap_get_post_variable where the payload is a json and it doesn't works. I look at the function coap_get_variable and something caught my attention the start[name_len] = "=". Actually if the payload is json should be : I guess. How is the correct way to fetch the variable from json payload?

Could you tell me whether am I right or not please?

George Oikonomou
@g-oikonomou

Could you tell me whether am I right or not please?

I cannot without looking at it. And as I am almost certain you will have observed, I am in the middle of a boxing match with some sensortags right at this moment :smile:

Andrea Stevanato
@thymbahutymba

Could you tell me whether am I right or not please?

I cannot without looking at it. And as I am almost certain you will have observed, I am in the middle of a boxing match with some sensortags right at this moment :smile:

I'll wait, no problem. I just wanted to be sure that you had read the message

George Oikonomou
@g-oikonomou
@jsolderitsch Bingo
George Oikonomou
@g-oikonomou
[INFO: Main      ] Starting Contiki-NG-release/v4.5-112-g3f1e0a763-dirty
[...]
CC26XX demo
-----------------------------------------
Bat: Temp=26 C
Bat: Volt=3250 mV
BAR: Pressure=1018.56 hPa
BAR: Temp=25.91 C
OPT: Light=14.58 lux
OPT: Light=14.56 lux
BAR: Pressure=1018.62 hPa
BAR: Temp=25.96 C
OPT: Light=14.58 lux
jsolderitsch
@jsolderitsch
@g-oikonomou Great! Can I ask what the diff's are for the code you were in?
George Oikonomou
@g-oikonomou
I hate how gitter links to PRs :D
jsolderitsch
@jsolderitsch
OK, I will see about cloning the right branch.
George Oikonomou
@g-oikonomou
add my repo as a remote, fetch it and check out the PR's branch
which is called bugfix/simplelink-sensors
jsolderitsch
@jsolderitsch
Sorry, my git knowledge is a little light. How to find your repo so that I can add it as a remote. Or do you mean the main contiki-ng?
George Oikonomou
@g-oikonomou
git remote add george https://github.com/g-oikonomou/contiki-ng
git fetch george
git checkout bugfix/simplelink-sensors
This should work
jsolderitsch
@jsolderitsch
Will try right now.
George Oikonomou
@g-oikonomou
I also pushedthe similar fix for HDC. So now we can have HDC, BMP and OPT at the same time. But the HDC still returns junk
jsolderitsch
@jsolderitsch
OK, I have the updated git changes but i have to step away from my computer for a few hours. May not get to verifying this until tomorrow.
George Oikonomou
@g-oikonomou
Laters
mohanmaniramesh
@mohanmaniramesh
@g-oikonomou
George Oikonomou
@g-oikonomou
@mohanmaniramesh