当我将我的设备连接到我的外围设备时,他会问我一个密码(设备上会显示一个弹出窗口)。我想在连接期间以编程方式发送此密码。
我正在使用 CBCentralManager,但找不到发送它的方法。
有什么建议?
我关注了Sonata用户捆绑tuto:http://sonata-project.org/bundles/user/2-2/doc/reference/installation.html
一切正常,我得到我的Application\Sonata\UserBundle.我创建了一个超级管理员用户,我登录管理员/仪表板,我收到此错误:
An exception has been thrown during the rendering of a template ("Unable to generate a URL for
the named route "admin_sonata_user_user_create" as such route does not exist.") in
SonataAdminBundle:Block:block_admin_list.html.twig at line 38.
Run Code Online (Sandbox Code Playgroud)
几个月前我已经安装了Sonata,我从来没有收到过这个错误,我不知道哪里失败了,我找不到解决方案.
这是我的config.yml:
imports:
- { resource: parameters.yml }
- { resource: security.yml }
framework:
#esi: ~
#translator: { fallback: "%locale%" }
secret: "%secret%"
router:
resource: "%kernel.root_dir%/config/routing.yml"
strict_requirements: ~
form: ~
csrf_protection: ~
validation: { enable_annotations: true }
templating:
engines: ['twig']
#assets_version: SomeVersionScheme
default_locale: "%locale%" …Run Code Online (Sandbox Code Playgroud)