8 years, 9 months ago.

Build error

I'm trying to build this project with the mbed online compiler for a Maxim board and I get the following error: Undefined symbol createBLEInstance() (referred from main.cpp.MAXWSNENV.o).

I don't see where it's pulling the reference from in the main module. Any ideas? The project doesn't build with this error.

Question relating to:

/ MAXWSNENV_demo Featured
BTLE demo for MAXWSNENV.

Some more information:

/**

  • BLE uses composition to hide an interface object encapsulating the
  • backend transport.
  • The following API is used to create the singleton interface object. An
  • implementation for this function must be provided by the device-specific
  • library, otherwise there will be a linker error.
  • /

extern BLEInstanceBase *createBLEInstance(void);

It seems that the low-level hardware-dependent function has not been implemented. I'll try to find the module for this and fix it.

posted by John Pavlick 16 Jul 2015

1 Answer

8 years, 9 months ago.

I've updated the description to describe the problem and how to fix it. We've run into some legal trouble with some of the Bluetooth software and can not release one of the necessary libraries. The current solution will require you to build the demo offline, but we will have a permanent solution available shortly.

Accepted Answer

Thanks but it's bit disappointing to get a "demo" board from a large company like Maxim that requires special firmware builds. I know this isn't your fault so please take this for what it's worth. The purpose of a demo board is to show potential users what the MCU and/or chipset is capable of. Quite frankly I can read sensors over an I2C bus and dump the results out to a serial port with a PIC. What made this board attractive was the combination of sensors and an MCU with an on-chip BLE peripheral. If it's a major PITA to get that to work I'll just wait until the custom board that we're designing with a Ti CC2640 MCU is ready.

One more question, even if I build this firmware so that the sensor output is directed to the BLE peripheral, how do I see the results? Has anyone written an iPhone or Android app. for this board yet?

posted by John Pavlick 20 Jul 2015