Lines Matching refs:psm
246 if (server.psm) { in cmd_register()
251 server.psm = strtoul(argv[1], NULL, 16); in cmd_register()
271 server.psm = 0U; in cmd_register()
275 server.psm, server.sec_level); in cmd_register()
318 uint16_t psm; in cmd_ecred_connect() local
333 psm = shell_strtoul(argv[1], 16, &err); in cmd_ecred_connect()
353 err = bt_l2cap_ecred_chan_connect(default_conn, l2cap_ecred_chans, psm); in cmd_ecred_connect()
355 shell_error(sh, "Unable to connect to psm %u (err %d)", psm, err); in cmd_ecred_connect()
366 uint16_t psm; in cmd_connect() local
379 psm = strtoul(argv[1], NULL, 16); in cmd_connect()
389 err = bt_l2cap_chan_connect(default_conn, &l2ch_chan.ch.chan, psm); in cmd_connect()
391 shell_error(sh, "Unable to connect to psm %u (err %d)", psm, err); in cmd_connect()