mirror of https://github.com/ARMmbed/mbed-os.git
Added mux-enabled flag in cellular mbed_lib.json
parent
020e15828d
commit
b159a51821
|
@ -15,6 +15,8 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#if MBED_CONF_CELLULAR_MUX_ENABLED
|
||||||
|
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include "cellular_mux.h"
|
#include "cellular_mux.h"
|
||||||
#include "mbed_retarget.h"
|
#include "mbed_retarget.h"
|
||||||
|
@ -1251,3 +1253,5 @@ short Mux::poll()
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace mbed
|
} // namespace mbed
|
||||||
|
|
||||||
|
#endif // MBED_CONF_CELLULAR_MUX_ENABLED
|
||||||
|
|
|
@ -15,6 +15,8 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#if MBED_CONF_CELLULAR_MUX_ENABLED
|
||||||
|
|
||||||
#ifndef MUX_H
|
#ifndef MUX_H
|
||||||
#define MUX_H
|
#define MUX_H
|
||||||
|
|
||||||
|
@ -577,3 +579,5 @@ private:
|
||||||
} // namespace mbed
|
} // namespace mbed
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#endif // MBED_CONF_CELLULAR_MUX_ENABLED
|
||||||
|
|
|
@ -14,6 +14,9 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#if MBED_CONF_CELLULAR_MUX_ENABLED
|
||||||
|
|
||||||
#include "cellular_mux.h"
|
#include "cellular_mux.h"
|
||||||
|
|
||||||
namespace mbed
|
namespace mbed
|
||||||
|
@ -57,3 +60,5 @@ void MuxDataService::sigio(Callback<void()> func)
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace mbed
|
} // namespace mbed
|
||||||
|
|
||||||
|
#endif // MBED_CONF_CELLULAR_MUX_ENABLED
|
||||||
|
|
|
@ -1,9 +1,13 @@
|
||||||
{
|
{
|
||||||
"name": "cellular",
|
"name": "cellular",
|
||||||
"config": {
|
"config": {
|
||||||
"use_apn_lookup": {
|
"use-apn-lookup": {
|
||||||
"help": "Use APN database lookup",
|
"help": "Use APN database lookup",
|
||||||
"value": true
|
"value": true
|
||||||
|
},
|
||||||
|
"mux-enabled": {
|
||||||
|
"help": "Use cellular modem over MUX",
|
||||||
|
"value": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue