Hi! I was able to set up my board + the radio, and the SPI communication is working. I’m trying to use the gnrc_networking example by a previous email by kaspar, where he gave the instructions on the setup. https://lists.riot-os.org/pipermail/users/2015-November/000468.html
My ifconfig says this:
fconfig
Iface 7 HWaddr: 20 Channel: 0
MTU:1280 HL:64 6LO RTR IPHC
Link type: wireless
inet6 addr: ff02::1/128 scope: local [multicast]
inet6 addr: fe80::3600:3400:757:3156/64 scope: local
inet6 addr: ff02::1:ff57:3156/128 scope: local [multicast]
I did exactly the same thing: ifconfig 7 del fe80::3600:3400:757:3156 ifconfig 7 add fe80::1 ifconfig 7 add fe80::1
I do the same with the other node with fe80::2 and then I send HELLO with txtsnd: txtsnd 7 fe80::2 HELLO!
1., Whenever I switch channel, the Channel variable in the ifconfig stays the same, I don’t know if its intended.
2., Packets doesn’t arrive. But I fired up a debugger, and the radio receives the packet just fine with a good CRC and everything, but somehow the networking stack drops it. Here is my github repo, I’ve started out with modifying the stm32f3discovery board: https://github.com/blaisehorvath/RIOT/tree/master/boards/stm32f3discovery
3., There was a step that I should put a IPHC disable in my Makefile.dep:
ifneq (,$(filter cc110x,$(USEMODULE))) DISABLE_MODULE += gnrc_sixlowpan_iphc endif
So I created a Makefile.dep file in my board directory, which I’ve included in my Makefile But the IPHC module compiles, and the ifconfig says it too, I don’t really understand why this step is needed, but I’Ve tried out without it and that didn’t work ( too ).
4., When I start my board it sends packets to 0:
cc110x: snd pkt to 0 payload_length=20 I don’t know why.
Any idea what to do? Thanks for the help so far! Viktor