Code Monkey home page Code Monkey logo

resources's Introduction

resources's People

Contributors

alignan avatar amejias avatar arcediano90 avatar jsgarri avatar zolertia avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

resources's Issues

Connecting the 6lbr-demo

When trying to run this command: make TARGET=zoul BOARD=remote-revb WITH_COAPSERVER=1 WITH_LLSEC=1 RF_CHANNEL=26 6lbr-demo.upload

I am getting the following error message when I try to connect to 6lbr-demo:
/usr/lib/gcc/arm-none-eabi/6.3.1/../../../arm-none-eabi/bin/ld: 6lbr-demo.elf section. '.stack' will not fit region FRSRAM' /usr/lib/gcc/arm-none-eabi/6.3.1/../../../arm-none-eabi/bin/ld: region FRSRAM' overflowed by 560 bytes
make: *** [6lbr-demo.elf] Error 1

I am following this tutorial: https://github.com/Zolertia/Resources/wiki/6lbr
I have tried editing the following values from the project-conf.f file

  • from #define QUEUEBUF_CONF_NUM 5 to #define QUEUEBUF_CONF_NUM 4
  • from UIP_CONF_BUFFER_SIZE 260 to UIP_CONF_BUFFER_SIZE 140

I initially sought guidance from the following site: https://github.com/contiki-ng/contiki-ng/wiki/Tutorial:-RAM-and-ROM-usage

Please Help. I have a project I need to finish ASAP.

Zolertia DHT22 failing to get values

Hi,

I'm working with a pack our institution (Instituto Politécnico de Tomar) has ordered (Zolertia RE-Mote with sensors) and i'm having some problems with the DHT22 temperature & humidity sensors. Last year a pack was ordered and two out of three sensors were working with the Zolertia RE-Motes. Now the insitution ordered another pack and we can't get values out of the newly DHT22 sensors. We plugged the old and new DHT22 sensors to an Arduino and they both work, but when plugged to a Zolertia RE-Mote, only the old one works. Would appreciate some feedback on this problem.

Login

Is there a default username and password for the Zolertia Zoul Remote?

Need Help : Unable to controll through cloud

Hi friends,
I was trying to do send and retrieve the data using remote-revb +Orion Router with Ubidots cloud
i'm able to send the sensor data to the ubidots cloud and i was able to get it successfully
but when i'm trying to control my actuator using ubidots SWITCH and SLIDER widget i was not getting the output .
Actually i was little confused with subscription i don't know weather I've followed correct way or not.
i have created the "led_toggle" variable in my auto created device
if i click on the SWITCH widget the it is not receiving.
i found that the ubidots_publish_handler it not called not executed i thought that if the data received then only it will be called.

please help me to solve this .
Thank you

Powering up the Zolertia Re-Mote RevB using (PS+EXT) pin

Hi,
I want to connect external power supply on (PS+EXT) pin to power up the node, however it does not Bootstrap, while it works fine , when I supply power through micro USB or connecting battery over VBAT. So, do I have to make changes in the firmware to supply the power on (PS+EXT) pin?
I am using Contiki OS, could someone suggest me the possible solution for this problem?

Thanks

Update List Button

I tested the tutorial https://github.com/Zolertia/Resources/wiki/Sparrow and i worked perfectly. Thank you very much for the tutorial. However, when i hit the Update List Button (in the Sparrow demo) i got the following message:

list routes 1485535302.81
refreshing routes...
fetching routes from: fd02::212:4b00:615:aa72
adding device: fd02::212:4b00:616:f3d
add_device() takes at least 3 arguments (2 given)
DemoSocket: Unexpected error handling cmd: routes <type 'exceptions.TypeError'>

The problem is that i do not see the device in the 6loWPAN Devices tab. I am able to ping6 the Border Router's interface, the slip radio and the device (a different RE-Mote). I try the Sparrow demo on Chrome and Firefox with the same results.

Cannot link zoul-demo

I tried to compile the zoul-demo application but I get the following output:

$ make -j1 TARGET=zoul BOARD=remote-revb zoul-demo
mkdir obj_zoul
CC ../../../platform/zoul/dev/tsl256x.c
CC ../../../platform/zoul/dev/sht25.c
CC ../../../platform/zoul/dev/bmpx8x.c
... lots of more lines ...
CC ../../../cpu/cc2538/cc2538.lds
CC ../../../cpu/cc2538/./startup-gcc.c
CC zoul-demo.c
LD zoul-demo.elf
/usr/lib64/gcc/arm-none-eabi/10/ld: obj_zoul/bme280.o:(.bss.bme280_mea+0x0): multiple definition of `bme280_mea'; obj_zoul/bme280-sensor.o:(.bss.bme280_mea+0x0): first defined here
collect2: error: ld returned 1 exit status
make: *** [../../../cpu/cc2538/Makefile.cc2538:101: zoul-demo.elf] Error 1
rm zoul-demo.co obj_zoul/startup-gcc.o

Any tips are welcome.

Compilation problem orion router

Hello,

I'm trying to change the router mode to SubGHZ interface following the instructions you provide link but is not working.

make TARGET=zoul BOARD=orion zoul-demo.upload && serialdump0
mkdir obj_zoul
CC ../../../platform/zoul/dev/tsl256x.c
CC ../../../platform/zoul/dev/sht25.c
CC ../../../platform/zoul/dev/bmpx8x.c
CC ../../../platform/zoul/dev/motion-sensor.c
CC ../../../platform/zoul/dev/adc-sensors.c
...
CC ../../../dev/cc1200/cc1200.c
CC ../../../dev/cc1200/cc1200-802154g-863-870-fsk-50kbps.c
CC ../../../core/net/ip64/ip64-dns64.c
CC ../../../core/net/ip64/ip64-arp.c
CC ../../../core/net/ip64/ip64-ipv4-dhcp.c
../../../core/net/ip64/ip64-ipv4-dhcp.c: In function 'ip64_dhcpc_configured':
../../../core/net/ip64/ip64-ipv4-dhcp.c:95:8: warning: implicit declaration of function 'uip_is_addr_unspecified' [-Wimplicit-function-declaration]
if(uip_is_addr_unspecified(dns) || ip64_addr_is_ip64(dns)) {
^
../../../core/net/ip64/ip64-ipv4-dhcp.c:95:58: warning: passing argument 1 of 'ip64_addr_is_ip64' from incompatible pointer type [-Wincompatible-pointer-types]
if(uip_is_addr_unspecified(dns) || ip64_addr_is_ip64(dns)) {
^
In file included from ../../../core/net/ip64/ip64-ipv4-dhcp.c:38:0:
../../../core/net/ip/ip64-addr.h:61:5: note: expected 'const uip_ip6addr_t * {aka const union uip_ip6addr_t *}' but argument is of type 'uip_ipaddr_t * {aka union uip_ip4addr_t *}'
int ip64_addr_is_ip64(const uip_ip6addr_t *ipv6addr);
^
../../../core/net/ip64/ip64-ipv4-dhcp.c:97:29: warning: passing argument 1 of 'uip_nameserver_update' from incompatible pointer type [-Wincompatible-pointer-types]
uip_nameserver_update(&ip6dnsaddr, uip_ntohs(s->lease_time[0])*65536ul + uip_ntohs(s->lease_time[1]));
^
In file included from ../../../core/./contiki-net.h:47:0,
from ../../../core/net/ip64/ip64-ipv4-dhcp.c:33:
../../../core/./net/ip/uip-nameserver.h:77:6: note: expected 'const uip_ipaddr_t * {aka const union uip_ip4addr_t *}' but argument is of type 'uip_ip6addr_t * {aka union uip_ip6addr_t *}'
void uip_nameserver_update(const uip_ipaddr_t *nameserver, uint32_t lifetime);
^
CC ../../../core/net/ip64/ip64-null-driver.c
CC ../../../core/net/ip64/ip64-dhcpc.c
../../../core/net/ip64/ip64-dhcpc.c:65:2: error: #error UIP_CONF_BUFFER_SIZE may be too small to accomodate DHCPv4 packets
#error UIP_CONF_BUFFER_SIZE may be too small to accomodate DHCPv4 packets
^
../../../core/net/ip64/ip64-dhcpc.c:66:2: error: #error Increase UIP_CONF_BUFFER_SIZE in your project-conf.h, platform-conf.h, or contiki-conf.h
#error Increase UIP_CONF_BUFFER_SIZE in your project-conf.h, platform-conf.h, or contiki-conf.h
^
../../../core/net/ip64/ip64-dhcpc.c:67:2: error: #error A good size is 600 bytes
#error A good size is 600 bytes
^
../../../core/net/ip64/ip64-dhcpc.c: In function 'ip64_dhcpc_init':
../../../core/net/ip64/ip64-dhcpc.c:417:20: warning: passing argument 1 of 'udp_new' from incompatible pointer type [-Wincompatible-pointer-types]
s.conn = udp_new(&v6addr, UIP_HTONS(IP64_DHCPC_SERVER_PORT), NULL);
^
In file included from ../../../core/./contiki-net.h:39:0,
from ../../../core/net/ip64/ip64-dhcpc.c:38:
../../../core/./net/ip/tcpip.h:229:27: note: expected 'const uip_ipaddr_t * {aka const union uip_ip4addr_t *}' but argument is of type 'uip_ip6addr_t * {aka union uip_ip6addr_t *}'
CCIF struct uip_udp_conn *udp_new(const uip_ipaddr_t *ripaddr, uint16_t port,
^
../../../Makefile.include:240: fallo en las instrucciones para el objetivo 'obj_zoul/ip64-dhcpc.o'
make: *** [obj_zoul/ip64-dhcpc.o] Error 1

The code was given from the repository directly, as the instructions said.

¿How can I solve this? ¿Have you got a stable version?

Thanks.

Round trip calculation

I want to calculate the time taken in sending and reception of a packet (round-trip) for z1 motes. I am trying to calculate latency in Contiki OS

1st boot of a orion router

Hi,

I plug in the orion BR router in a POE switch with IPv4/IPv6 to this port. The router blinks in green Do I need to flash the router with the 6lbr functionality and web management ? or it is already flashed ?

Regards,
Dimitris

Telnet port closed

Why is the telnet port closed on the border router? The only port available is http, why?

Resetting remote-revb

I'm trying to find a reliable, fast and easy way to reset the remote-revb.

Usually, invoking the cc2538-bsl script is enough to perform a reset, however it takes a bit too long for my application.

I know that the script toggles DTR for bootloader and RTS for the reset pin. However, for the remote those lines are connected to GPIOs on the on-board PIC.

My question is: Is it possible to reset without sending any command to the cc2538 ROM bootloader? Or in other words, what does the PIC do when it receives the signal from the script?

Need to add further toolchain in the Wiki for serial login

Hi,

Apparently, one also requires to install lib32z1 & lib32ncurses5 to the Toolchain installation if one wishes to use make login PORT=/dev/ttyUSB0.

Observations

  1. I have Zoul Rev-A modules with me and I cloned Contiki to my Ubuntu VM.
  2. I installed the gcc-arm-none-eabi and gdb-arm-none-eabi
  3. went into the /examples/zolertial/zoul/ and make TARGET=zoul BOARD=zoul-reva zoul-demo.upload && serialdump0
  4. serialdump0 is not a command line but I went ahead and did make login PORT=/dev/ttyUSB0 but the error
    sky/tools/serialdump-linux: Command not found
    occured.
  5. upon sudo apt-get install lib32ncurses5 lib32z1 and make login gives me the data.

Not sure if this was a hack on myside but I thought this might be good information.
Source=> check number 6

Compilation Error

"/usr/lib/gcc/arm-none-eabi/4.9.3/include/stdint.h:9:26: fatal error: stdint.h: No such file or directory"

image

How to connect Remote-RevB to Orion Router

I'm trying to connect REmote-RevB ( MQTT-CLIENT ) to ORION Router (Border Router)
I've tried CETIC border router and RPL Border router for ORION Router but the MQTT-CLIENT is not connecting to MQTT Broker.
But I was able to connect using TUNSLIP to the MQTT Broker without using ORION Router .
I want to connect to the MQTT Broker using ORION Router

I want know which border router program has to be flashed in ORION ROUTER?
or if anyone done with any other way please let me know procedure

Error Message

When I type in this command
make TARGET=zoul BOARD=remote-revb WITH_COAPSERVER=1 WITH_LLSEC=1 RF_CHANNEL=26 6lbr-demo.upload
I get the following error message that says something like this
../../core/net/llsec/apadtivesec/akes.c:113:24:error: 'PACKETBUF_ATTR_UNECRYPTED_BYTES' undeclared (first use in this function)
bash:syntax error near unexpected token '('

I did not deviate from what was explained on the tutorial, so I am confused

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.