Re: first try to send data with pi433 on Raspberry Pi

2017-12-19 Thread Marcin Ciupak
On Tue, Dec 19, 2017 at 07:59:33PM +0100, Oliver Graute wrote: > On 12/12/17, Marcin Ciupak wrote: > > > > this is due to fact that pi433_write returns 0 on successful copy while > > it should return 'copied' value. So it is a bug :) > > > > '0' means nothing was copied so userpsace calls pi433_w

Re: first try to send data with pi433 on Raspberry Pi

2017-12-19 Thread Oliver Graute
On 12/12/17, Marcin Ciupak wrote: > > this is due to fact that pi433_write returns 0 on successful copy while > it should return 'copied' value. So it is a bug :) > > '0' means nothing was copied so userpsace calls pi433_write again and > again, data is put to fifo and when it is full it goes to

Re: first try to send data with pi433 on Raspberry Pi

2017-12-12 Thread Marcin Ciupak
On Mon, Dec 11, 2017 at 10:29:54PM +0200, Marcus Wolf wrote: > > Am 11.12.2017 um 20:40 schrieb Oliver Graute: > > Hello list, > > > > I just got my pi433 working somehow on Raspberry Pi Model B Rev 2. > > > > Here are my findings: > > > > first I need to enabling spi in config.txt on boot part

Re: first try to send data with pi433 on Raspberry Pi

2017-12-12 Thread Oliver Graute
On 11/12/17, Marcus Wolf wrote: > > Am 11.12.2017 um 20:40 schrieb Oliver Graute: > >Hello list, > > > >I just got my pi433 working somehow on Raspberry Pi Model B Rev 2. > > > >Here are my findings: > > > >first I need to enabling spi in config.txt on boot partition. > > > >dtparam=spi=on > > > >

Re: first try to send data with pi433 on Raspberry Pi

2017-12-11 Thread Marcus Wolf
Am 11.12.2017 um 20:40 schrieb Oliver Graute: Hello list, I just got my pi433 working somehow on Raspberry Pi Model B Rev 2. Here are my findings: first I need to enabling spi in config.txt on boot partition. dtparam=spi=on then adding this node to bcm2835-rpi-b-rev2.dts and compile. &spi0

first try to send data with pi433 on Raspberry Pi

2017-12-11 Thread Oliver Graute
Hello list, I just got my pi433 working somehow on Raspberry Pi Model B Rev 2. Here are my findings: first I need to enabling spi in config.txt on boot partition. dtparam=spi=on then adding this node to bcm2835-rpi-b-rev2.dts and compile. &spi0_gpio7 { pi433: pi433@0 {