Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8347519
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T07:23:02+00:00 2026-06-09T07:23:02+00:00

In the NFC Handover Spec is a sample – how to write WPC Config

  • 0

In the NFC Handover Spec is a sample – how to write WPC Config to a WIFI-Tag.

There is a record-entry for encryption.

So if I want to store Encryption for a WIFI-Config there are 2 points I’m interested to:
TKIP, CCMP

I can store this information, but I don’t know by reading this information if this refers to
GroupCipher OR PairwiseCipher OR both?

So I can set this:

config.allowedGroupCiphers.set(WifiConfiguration.GroupCipher.TKIP);
config.allowedGroupCiphers.set(WifiConfiguration.GroupCipher.CCMP);

and

config.allowedPairwiseCiphers.set(WifiConfiguration.PairwiseCipher.TKIP);
config.allowedPairwiseCiphers.set(WifiConfiguration.PairwiseCipher.CCMP);

But when do I set TKIP, CCMP for Pairwise AND/ OR GroupCipher.

Do I always set both? Also if I don’t know if the encrpytion on the tag refers to Group or Pairwise?

I hope you know what I mean, If i read now AES from the tag, do I set

config.allowedGroupCiphers.set(WifiConfiguration.GroupCipher.CCMP);

OR

config.allowedPairwiseCiphers.set(WifiConfiguration.PairwiseCipher.CCMP);

OR

config.allowedGroupCiphers.set(WifiConfiguration.GroupCipher.CCMP);
config.allowedPairwiseCiphers.set(WifiConfiguration.PairwiseCipher.CCMP);
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T07:23:03+00:00Added an answer on June 9, 2026 at 7:23 am

    If you want to connect to WPA(1) AP then you have to use TKIP. For a WPA2 AP you need CCMP.

    Now if you want to use both (WPA(1) and WPA2 AP) then you have to set both.

    You should use same mechanism (TKIP/CCMP) for both PairWise & GroupWise Keys.

    Pairwise Cipher key is used for unicast messages, while GroupCipher key is used for broadcast.

    Hope this helps,

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i want to create a NFC SmartPoster which dial a number with Action Record
I want to read NDEF content contained within a detected NFC tag (i.e., Tag
I am working on a NFC Android Project. I want to import import.android.nfc.tag; in
I am trying to write a simple application to interact with NFC tags, but
Is there any way for an Android phone with NFC (Nexus, Galaxy, etc.) to
i have external felica NFC device adapter now i want to connect that device
I started studying android NFC ,I am Confused about NFC tag(i think it is
I got some sample code for android.nfc.NfcSecureElement but it throws some error. The import
I am writing an application that is supposed to detect nfc tag and automatically
I am doing the NFC project. In this I need to detect the tag

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.