Update: I've worked on the BLE arduino sdk from Nordic, and followed all the directions, but I'm having some compiler errors. I've crossposted to a different forum for more AVR centric issues, and because I could attach my source code, but if anyone may have a clue as to what it is, its here www.avrfreaks.net/index.php
I could have also posted here, but again, I don't think I can attach my files. I hope this works out, this is a really strange set of errors.
To clarify: I need a bit of guidance/hand holding to start porting the nRF8001 to interface with the Atmel Atmega328p using only C, not C++ or Arduino.
This seems like a simple enough question, and I tried using google to see if there are any predefined libraries, or reading the documentation, or even searching here/stackexchange.
I'm trying to implement a project with an Atmel Atmega328p using C code (no C++), no bootloader, no arduino, it isn't allowed. It is for a class project for embedded systems, but we haven't had any experience in setting up too many driver setups and I'm slightly confused at the process.
So far I've made a general bluetooth App for android and a Python Bluetooth application for desktop. I've done all of the hardware portions of the project, and made sure they work with the code. I'm simply using the Bluetooth for communication to check data logging, current status, sensor readouts, and setting triggering levels from my phone or desktop that interfaces with the Atmega
I bought the www.adafruit.com/.../1697 (nRF8001 breakout board) from adafruit, because I was doing a bunch of purchases from there. At the time I didn't see all the Dev Kits from Nordic Semi, but I thought I could still get everything working.
I've downloaded the SDK, and nRF studio. I've seen the github repos for both Nordic and Adafruit.
The only things that seem clear to me is that I can use nRF studio to edit the parameters of the nRF8001 for the configuration files. Then take those files and use the header files they produce. There are quite a few examples so I wasn't sure which to use. I also saw that you can port over the arduino files by editing the Arduino portions out at changing to a .c.
I'm really looking for some advice on how to begin, I'm a real beginner at all this, I was overwhelmed as it is making Device drivers for the TI CC3000 for wifi, and I thought this time maybe i should ask the dev community.
I hope I have googled and searched correctly, dont' mean to waste anyones time. All combinations of Atmel, Avr, and Atmega with nRF8001 and Nordic Semi have been searched.
Thank you for any help!