Hi all,
Santa got me some confusing toys this year! An Arduino Mega 2560 (which I'm learning the ropes on) and an RN-52 Bluetooth module (RN-52 Bluetooth Hookup Guide - SparkFun Learn). My question is likely straight forward however being new, I am slightly confused on how to handle it.
My goal: stream tunes (completed successfully) and be able to answer/end an incoming phone call (this is where I am stuck). I have found enough information regarding the UART RTS/CTS/TX/RX pins on the module to understand that I need to use them to communicate with the RN52 however I'm at a loss on what to do with them. I was able to connect to the RN52 with my computer and through CoolTerm I was able to answer a call, end a call, make a call, etc. But obviously that defeats the purpose of Bluetooth!
My question: How/Where would I connect this to the Mega 2560? And once connected, how can I send the RN52 commands like C
for answering a call. Or would one just program the RN52 and forget the GIOP's on the RN52 (is that even possible?)?
Here is the RN52 manual if needed: https://dlnmh9ip6v2uc.cloudfront.net/assets/a/2/a/a/d/5217c61f757b7f55758b456f.pdf
Any help in the right direction would be much appreciated. If more information is needed from me like what I currently have configured, let me know. I don't mind reading and learning how, I'm just stuck!
Thank you in advance! Happy New Year!