This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Trying to get AT Command example to compile from Fanstel

So I am brand new at this product line, and basically new at C in general, I come from VB land. So bare with me please

I purchased both a Nordic nrf52 dev kit evaluation board, as well as a Fanstel BT832XE mainly for its long range with its built-in amplifier IC. the link to get the AT commands project + SDK they have posted, is here: www.dropbox.com/.../nRF5_SDK_14.rar

the folder is in the examples directory, and has hc-05 or hc-08, something like that. 

So I am running into a plethora of issues. They posted their example AT command codes on their website under SDK 14. However that is all setup for IAR and I have the free Segger studio installed. I tried to use the existing project folder and did an import with Segger, I ran into problem after problem .So I gave up there. Most of their documentation was written for nRFGo studio which I cannot find anymore. probably discontinued?

So after giving up importing the project, I attempted to "template" it into a working project, so I downloaded SDK 15 at first from Nordic, and I copied the C file from the AT commands example and it wont compile, too many errors because of SDK changes I suppose. 

I rolled back to SDK 14.2, took the uart example, copied and again overwrote the main.c file from the AT commands example, it builds all the way up to this point: 

Output/ble_serial_pca10040_s132 Debug/Obj/main.o: In function `fds_test_init':

undefined reference to `fds_register'

and on and on it goes with a whole bunch of fds stuff being undefined which makes no sense to me. 

But, fds.h include is present! I also checked and made sure FDS was turned on in the sdk_config.h file. Made no difference. Tried clean, tried rebuild, tried build, it gives me the same error under all tries.

So I am at a complete loss, I cant figure it out. The ultimate end-game here is to make some changes to the example program so I can "log-in" to the module before it allows sending/receiving between the UART and the BLE. Right now its configured open relay, anyone can connect and send/receive. I dont like that. 

Parents Reply
  • You did say that you got this code from Fanstel.

    Fanstel are the only ones who can can tell you why they did whatever they've done.

    Have you tried using Nordic's own examples with the Nordic nrf52 dev kit?

    So I am brand new at this product line, and basically new at C in general

    So it might be better to spend some time getting the hang of 'C' - the Nordic SDK isn't really a great place for a beginner to start ...

Children
Related