Quantcast
Viewing all articles
Browse latest Browse all 116964

Forum Post: RE: Where is the HalI2CSend() function?

Hello Randy,

Well it looks like you may have a valid complaint.  In BLE v1.3, the HalI2CSend() function is missing from the hal_i2c.c file!

It is in the BLE v1.2 along with other functions.  Somehow for some reason it was not included in BLE v1.3.  I haven't downloaded BLE v1.3.1 to see if it was included in that one.

As I mentioned in the previous post, the SensorTag uses the i2c exclusively for the all the on-board sensors.

The HalSensorReadReg(uint8 addr, uint8 *pBuf, uint8 nBytes) performs the same function as the HalI2CSend(uint8 address, uint8 *buf, uint16 len).

Looking further into the code, you should be able to figure out that one is a hardware version and the other is a software version.  This could only mean that the BLE v1.2 was written for the CC2540, before the CC2541 was released.

Thanks,


Viewing all articles
Browse latest Browse all 116964

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>