EasyIoT wrote: Thanks for test.
Problem is in BCM library. I've checked on their site. They ported lib to Raspberry 2, but nobody confirmed if it works. I think It's to early to do anything more. First we will wait for working BCM library... I think this is the only library which is dependent on Raspberry Pi HW.
First file is for GPIO driver, second is for MySensors driver. Main change is base address used by BCM chip. New address should be visible in /proc/device-tree/soc/ranges. Please test new libraries and report if it works on Raspberry Pi 2.
Unhandled Exception:
System.EntryPointNotFoundException: CSharp_RF24_write_1
at (wrapper managed-to-native) MySensorsDriver.RF24_wrap:RF24_write_1 (intptr,byte[],byte,bool)
at MySensorsDriver.RF24.write (System.Byte[] buf, Byte len, Boolean multicast) [0x00000] in <filename unknown>:0
at MySensorsDriver.MySensors.sendWrite (Byte next, MySensorsDriver.MyMessage message, Boolean broadcast) [0x00000] in <filename unknown>:0
at MySensorsDriver.MySensors.process () [0x00000] in <filename unknown>:0
at MySensorsDriver.MySensors.workerThread () [0x00000] in <filename unknown>:0
at System.Threading.Thread.StartInternal () [0x00000] in <filename unknown>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.EntryPointNotFoundException: CSharp_RF24_write_1
at (wrapper managed-to-native) MySensorsDriver.RF24_wrap:RF24_write_1 (intptr,byte[],byte,bool)
at MySensorsDriver.RF24.write (System.Byte[] buf, Byte len, Boolean multicast) [0x00000] in <filename unknown>:0
at MySensorsDriver.MySensors.sendWrite (Byte next, MySensorsDriver.MyMessage message, Boolean broadcast) [0x00000] in <filename unknown>:0
at MySensorsDriver.MySensors.process () [0x00000] in <filename unknown>:0
at MySensorsDriver.MySensors.workerThread () [0x00000] in <filename unknown>:0
at System.Threading.Thread.StartInternal () [0x00000] in <filename unknown>:0