Hello everybody.
I have found a lot of usefull posts on this topic and have also included the hal_i2c files in my project.
but now i have some problems when i will send different values in the corresponding registers from my i2c slave.
i have a little radio receiver which should be work with my iphone program. i have already implemented that i can change the different settings (channel, volume etc) in my own btle profile. now i want to send this value to my radio module.
and here is my problem. how can i speak with the radio receiver when i have the given hal_i2c files? there are only 3 commands ( HalI2CInit(address, freq), HalI2CWrite(len, data) and HalI2CRead(len, data) )
when i will write a value i have an different address as when i will read data (write is 0x20, read is 0x21). so, if anybody can give a little example how i can send the correct address, than the data and so on i would be very happy...
many thanks in advance
Thierry