I try to create a beacon which can receive dynamic UUID through UART and advertise with the received UUID.
Now I am working on the sample ble_app_uart, to replace the existed advertising codes with the beacon advertising code in ble_app_beacon.
But in practice, when I remove some code like below
APP_TIMER_INIT(APP_TIMER_PRESCALER, APP_TIMER_MAX_TIMERS, APP_TIMER_OP_QUEUE_SIZE, false);
uart_init();
buttons_leds_init(&erase_bonds);
ble_stack_init();
gap_params_init();
services_init();
//advertising_init();
//conn_params_init();
printf("%s",start_string);
//init_timer();
//err_code = ble_advertising_start(BLE_ADV_MODE_FAST);
The program keep printing char 'ÿ', rather than print 'Start...'
How is it caused? And what should I do to implement my purpose?