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